| Modifier and Type | Method and Description |
|---|---|
String |
Applet.getAppletInfo()
Returns information about this applet.
|
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
String[][] |
Applet.getParameterInfo()
Returns information about the parameters that are understood by
this applet.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<String> |
AppletContext.getStreamKeys()
Finds all the keys of the streams in this applet context.
|
| Modifier and Type | Method and Description |
|---|---|
Applet |
AppletContext.getApplet(String name)
Finds and returns the applet in the document represented by this
applet context with the given name.
|
AudioClip |
Applet.getAudioClip(URL url,
String name)
Returns the
AudioClip object specified by the
URL and name arguments. |
Image |
Applet.getImage(URL url,
String name)
Returns an
Image object that can then be painted on
the screen. |
String |
AppletStub.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
String |
Applet.getParameter(String name)
Returns the value of the named parameter in the HTML tag.
|
InputStream |
AppletContext.getStream(String key)
Returns the stream to which specified key is associated within this
applet context.
|
void |
Applet.play(URL url,
String name)
Plays the audio clip given the URL and a specifier that is
relative to it.
|
void |
AppletContext.setStream(String key,
InputStream stream)
Associates the specified stream with the specified key in this
applet context.
|
void |
AppletContext.showDocument(URL url,
String target)
Requests that the browser or applet viewer show the Web page
indicated by the
url argument. |
void |
AppletContext.showStatus(String status)
Requests that the argument string be displayed in the
"status window".
|
void |
Applet.showStatus(String msg)
Requests that the argument string be displayed in the
"status window".
|
| Modifier and Type | Field and Description |
|---|---|
private String |
TrayIcon.actionCommand |
(package private) String |
MenuItem.actionCommand
This field indicates the command tha has been issued
by a particular menu item.
|
(package private) String |
Button.actionCommand
The action to be performed once a button has been
pressed.
|
(package private) static String |
MenuComponent.actionListenerK |
(package private) static String |
Component.actionListenerK
Internal, constants for serialization
|
(package private) static String |
Component.adjustmentListenerK |
static String |
BorderLayout.AFTER_LAST_LINE
Synonym for PAGE_END.
|
static String |
BorderLayout.AFTER_LINE_ENDS
Synonym for LINE_END.
|
private static String |
Toolkit.atNames
Used internally by the assistive technologies functions; set at
init time and used at load time
|
private static String |
Window.base |
private static String |
TextField.base |
private static String |
TextArea.base |
private static String |
Scrollbar.base |
private static String |
ScrollPane.base |
private static String |
PopupMenu.base |
private static String |
Panel.base |
private static String |
MenuItem.base |
private static String |
MenuBar.base |
private static String |
Menu.base |
private static String |
List.base |
private static String |
Label.base |
private static String |
Frame.base |
private static String |
FileDialog.base |
private static String |
Dialog.base |
private static String |
Choice.base |
private static String |
CheckboxMenuItem.base |
private static String |
Checkbox.base |
private static String |
Canvas.base |
private static String |
Button.base |
static String |
BorderLayout.BEFORE_FIRST_LINE
Synonym for PAGE_START.
|
static String |
BorderLayout.BEFORE_LINE_BEGINS
Synonym for LINE_START.
|
static String |
BorderLayout.CENTER
The center layout constraint (middle of container).
|
(package private) static String |
Component.componentListenerK |
(package private) static String |
Component.containerListenerK |
private static String |
Cursor.CursorDotPrefix |
(package private) static String[][] |
Cursor.cursorProperties |
private static String[] |
KeyboardFocusManager.defaultFocusTraversalKeyPropertyNames
The bound property names of each focus traversal key.
|
static String |
Font.DIALOG
A String constant for the canonical family name of the
logical font "Dialog".
|
static String |
Font.DIALOG_INPUT
A String constant for the canonical family name of the
logical font "DialogInput".
|
(package private) String |
FileDialog.dir |
private static String |
Cursor.DotFileSuffix |
private static String |
Cursor.DotHotspotSuffix |
private static String |
Cursor.DotNameSuffix |
static String |
BorderLayout.EAST
The east layout constraint (right side of container).
|
(package private) String |
FileDialog.file |
private String |
JobAttributes.fileName |
(package private) static String |
Component.focusListenerK |
private static String[] |
Component.focusTraversalKeyPropertyNames |
(package private) static String |
Component.hierarchyBoundsListenerK |
(package private) static String |
Component.hierarchyListenerK |
(package private) static String |
Component.inputMethodListenerK |
(package private) static String |
MenuComponent.itemListenerK |
(package private) static String |
Component.itemListenerK |
(package private) static String |
Component.keyListenerK |
(package private) String |
MenuItem.label
label is the label of a menu item. |
(package private) String |
Checkbox.label
The label of the Checkbox.
|
(package private) String |
Button.label
The button's label.
|
static String |
BorderLayout.LINE_END
The component goes at the end of the line direction for the
layout.
|
static String |
BorderLayout.LINE_START
The component goes at the beginning of the line direction for the
layout.
|
static String |
Font.MONOSPACED
A String constant for the canonical family name of the
logical font "Monospaced".
|
(package private) static String |
Component.mouseListenerK |
(package private) static String |
Component.mouseMotionListenerK |
(package private) static String |
Component.mouseWheelListenerK |
private String |
MenuComponent.name
The menu component's name, which defaults to
null. |
protected String |
Font.name
The logical name of this
Font, as passed to the
constructor. |
private String |
EventQueue.name |
protected String |
Cursor.name
The user-visible name of the cursor.
|
private String |
Component.name
A component's name.
|
String |
CardLayout.Card.name |
private String[] |
AttributeValue.names |
private static String[] |
PageAttributes.ColorType.NAMES |
private static String[] |
PageAttributes.MediaType.NAMES |
private static String[] |
PageAttributes.OrientationRequestedType.NAMES |
private static String[] |
PageAttributes.OriginType.NAMES |
private static String[] |
PageAttributes.PrintQualityType.NAMES |
private static String[] |
JobAttributes.DefaultSelectionType.NAMES |
private static String[] |
JobAttributes.DestinationType.NAMES |
private static String[] |
JobAttributes.DialogType.NAMES |
private static String[] |
JobAttributes.MultipleDocumentHandlingType.NAMES |
private static String[] |
JobAttributes.SidesType.NAMES |
private static String[] |
BufferCapabilities.FlipContents.NAMES |
static String |
BorderLayout.NORTH
The north layout constraint (top of container).
|
private static String |
KeyboardFocusManager.notPrivileged
Error String for initializing SecurityExceptions.
|
(package private) static String |
Component.ownedWindowK |
static String |
BorderLayout.PAGE_END
The component comes after the last line of the layout's content.
|
static String |
BorderLayout.PAGE_START
The component comes before the first line of the layout's content.
|
private String |
JobAttributes.printer |
static String |
Font.SANS_SERIF
A String constant for the canonical family name of the
logical font "SansSerif".
|
private static String |
ScrollPaneAdjustable.SCROLLPANE_ONLY
Error message for
AWTError reported when one of
the public but unsupported methods is called. |
static String |
Font.SERIF
A String constant for the canonical family name of the
logical font "Serif".
|
static String |
BorderLayout.SOUTH
The south layout constraint (bottom of container).
|
private static String |
Cursor.systemCustomCursorDirPrefix |
private static String |
Cursor.systemCustomCursorPropertiesFile |
(package private) String |
TextComponent.text
The value of the text.
|
(package private) String |
Label.text
The text of this label.
|
(package private) static String |
Component.textListenerK |
(package private) String |
Frame.title
This is the title of the frame.
|
(package private) String |
Dialog.title
Specifies the title of the Dialog.
|
private String |
TrayIcon.tooltip |
(package private) String |
Window.warningString
This represents the warning message that is
to be displayed in a non secure window.
|
static String |
BorderLayout.WEST
The west layout constraint (left side of container).
|
(package private) static String |
Component.windowFocusListenerK |
(package private) static String |
Component.windowListenerK |
(package private) static String |
Component.windowStateListenerK |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
Toolkit.desktopProperties |
| Modifier and Type | Method and Description |
|---|---|
private static String |
SplashScreen._getImageFileName(long splashPtr) |
private static String |
SplashScreen._getImageJarName(long SplashPtr) |
(package private) String |
Window.constructComponentName()
Construct a name for this component.
|
(package private) String |
TextField.constructComponentName()
Construct a name for this component.
|
(package private) String |
TextArea.constructComponentName()
Construct a name for this component.
|
(package private) String |
Scrollbar.constructComponentName()
Constructs a name for this component.
|
(package private) String |
ScrollPane.constructComponentName()
Construct a name for this component.
|
(package private) String |
PopupMenu.constructComponentName()
Constructs a name for this
MenuComponent. |
(package private) String |
Panel.constructComponentName()
Construct a name for this component.
|
(package private) String |
MenuItem.constructComponentName()
Construct a name for this MenuComponent.
|
(package private) String |
MenuComponent.constructComponentName()
Constructs a name for this
MenuComponent. |
(package private) String |
MenuBar.constructComponentName()
Construct a name for this MenuComponent.
|
(package private) String |
Menu.constructComponentName()
Construct a name for this MenuComponent.
|
(package private) String |
List.constructComponentName()
Construct a name for this component.
|
(package private) String |
Label.constructComponentName()
Construct a name for this component.
|
(package private) String |
Frame.constructComponentName()
Construct a name for this component.
|
(package private) String |
FileDialog.constructComponentName()
Constructs a name for this component.
|
(package private) String |
Dialog.constructComponentName()
Construct a name for this component.
|
(package private) String |
Component.constructComponentName()
Constructs a name for this component.
|
(package private) String |
Choice.constructComponentName()
Constructs a name for this component.
|
(package private) String |
CheckboxMenuItem.constructComponentName()
Construct a name for this MenuComponent.
|
(package private) String |
Checkbox.constructComponentName()
Constructs a name for this component.
|
(package private) String |
Canvas.constructComponentName()
Construct a name for this component.
|
(package private) String |
Button.constructComponentName()
Construct a name for this component.
|
String |
VKCollection.findName(Integer code) |
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
Choice.AccessibleAWTChoice.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object.
|
String |
CheckboxMenuItem.AccessibleAWTCheckboxMenuItem.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
Checkbox.AccessibleAWTCheckbox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
Button.AccessibleAWTButton.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleDescription()
Gets the accessible description of this object.
|
String |
Component.AccessibleAWTComponent.getAccessibleDescription()
Gets the accessible description of this object.
|
String |
MenuItem.AccessibleAWTMenuItem.getAccessibleName()
Get the accessible name of this object.
|
String |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleName()
Gets the accessible name of this object.
|
String |
Label.AccessibleAWTLabel.getAccessibleName()
Get the accessible name of this object.
|
String |
Component.AccessibleAWTComponent.getAccessibleName()
Gets the accessible name of this object.
|
String |
Button.AccessibleAWTButton.getAccessibleName()
Get the accessible name of this object.
|
String |
TrayIcon.getActionCommand()
Returns the command name of the action event fired by this tray icon.
|
String |
MenuItem.getActionCommand()
Gets the command name of the action event that is fired
by this menu item.
|
String |
Button.getActionCommand()
Returns the command name of the action event fired by this button.
|
(package private) String |
MenuItem.getActionCommandImpl() |
String |
TextComponent.AccessibleAWTTextComponent.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
TextComponent.AccessibleAWTTextComponent.getAtIndex(int part,
int index)
Returns the String at a given index.
|
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames()
Returns an array containing the names of all font families in this
GraphicsEnvironment localized for the default locale,
as returned by Locale.getDefault(). |
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
Returns an array containing the names of all font families in this
GraphicsEnvironment localized for the specified locale. |
String |
TextComponent.AccessibleAWTTextComponent.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
FileDialog.getDirectory()
Gets the directory of this file dialog.
|
(package private) String |
Font.getFamily_NoClientCode() |
String |
Font.getFamily()
Returns the family name of this
Font. |
String |
Font.getFamily(Locale l)
Returns the family name of this
Font, localized for
the specified locale. |
String |
FileDialog.getFile()
Gets the selected file of this file dialog.
|
String |
JobAttributes.getFileName()
Specifies the file name for the output file for jobs using these
attributes.
|
abstract String[] |
Toolkit.getFontList()
Deprecated.
|
String |
Font.getFontName()
Returns the font face name of this
Font. |
String |
Font.getFontName(Locale l)
Returns the font face name of the
Font, localized
for the specified locale. |
(package private) static String |
GraphicsEnvironment.getHeadlessMessage() |
private String |
RenderingHints.Key.getIdentity() |
abstract String |
GraphicsDevice.getIDstring()
Returns the identification string associated with this
GraphicsDevice. |
String |
List.getItem(int index)
Gets the item associated with the specified index.
|
String |
Choice.getItem(int index)
Gets the string at the specified index in this
Choice menu. |
(package private) String |
List.getItemImpl(int index) |
(package private) String |
Choice.getItemImpl(int index) |
String[] |
List.getItems()
Gets the items in the list.
|
String |
MenuItem.getLabel()
Gets the label for this menu item.
|
String |
Checkbox.getLabel()
Gets the label of this check box.
|
String |
Button.getLabel()
Gets the label of this button.
|
String |
HeadlessException.getMessage() |
(package private) static String |
AWTKeyStroke.getModifiersText(int modifiers) |
String |
MenuComponent.getName()
Gets the name of the menu component.
|
String |
Font.getName()
Returns the logical name of this
Font. |
String |
Cursor.getName()
Returns the name of this cursor.
|
String |
Component.getName()
Gets the name of the component.
|
String |
JobAttributes.getPrinter()
Returns the destination printer for jobs using these attributes.
|
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default.
|
String |
Font.getPSName()
Returns the postscript name of this
Font. |
String |
List.getSelectedItem()
Gets the selected item on this scrolling list.
|
String |
Choice.getSelectedItem()
Gets a representation of the current choice as a string.
|
String[] |
List.getSelectedItems()
Gets the selected items on this scrolling list.
|
String |
TextComponent.getSelectedText()
Returns the selected text from the text that is
presented by this text component.
|
String |
TextComponent.AccessibleAWTTextComponent.getSelectedText()
Returns the portion of the text that is selected.
|
String |
TextComponent.getText()
Returns the text that is presented by this text component.
|
String |
Label.getText()
Gets the text of this label.
|
String |
Frame.getTitle()
Gets the title of the frame.
|
String |
Dialog.getTitle()
Gets the title of the dialog.
|
String |
TrayIcon.getToolTip()
Returns the tooltip string associated with this
TrayIcon. |
(package private) static String |
AWTKeyStroke.getVKText(int keyCode) |
String |
Window.getWarningString()
Gets the warning string that is displayed with this window.
|
private static String |
Cursor.initCursorDir() |
protected String |
TextField.paramString()
Returns a string representing the state of this
TextField. |
protected String |
TextComponent.paramString()
Returns a string representing the state of this
TextComponent. |
protected String |
TextArea.paramString()
Returns a string representing the state of this
TextArea. |
protected String |
Scrollbar.paramString()
Returns a string representing the state of this
Scrollbar. |
String |
ScrollPaneAdjustable.paramString()
Returns a string representing the state of this scrollbar.
|
String |
ScrollPane.paramString()
Returns a string representing the state of this
ScrollPane. |
protected String |
MenuShortcut.paramString()
Returns the parameter string representing the state of this
MenuShortcut.
|
String |
MenuItem.paramString()
Returns a string representing the state of this
MenuItem. |
protected String |
MenuComponent.paramString()
Returns a string representing the state of this
MenuComponent. |
String |
Menu.paramString()
Returns a string representing the state of this
Menu. |
protected String |
List.paramString()
Returns the parameter string representing the state of this
scrolling list.
|
protected String |
Label.paramString()
Returns a string representing the state of this
Label. |
protected String |
Frame.paramString()
Returns a string representing the state of this
Frame. |
protected String |
FileDialog.paramString()
Returns a string representing the state of this
FileDialog
window. |
protected String |
Event.paramString()
NOTE: The
Event class is obsolete and is
available only for backwards compatilibility. |
protected String |
Dialog.paramString()
Returns a string representing the state of this dialog.
|
protected String |
Container.paramString()
Returns a string representing the state of this
Container. |
protected String |
Component.paramString()
Returns a string representing the state of this component.
|
protected String |
Choice.paramString()
Returns a string representing the state of this
Choice
menu. |
String |
CheckboxMenuItem.paramString()
Returns a string representing the state of this
CheckBoxMenuItem. |
protected String |
Checkbox.paramString()
Returns a string representing the state of this
Checkbox. |
protected String |
Button.paramString()
Returns a string representing the state of this
Button. |
String |
AWTEvent.paramString()
Returns a string representing the state of this
Event. |
String |
SystemColor.toString()
Returns a string representation of this
Color's values. |
String |
ScrollPaneAdjustable.toString()
Returns a string representation of this scrollbar and its values.
|
String |
Robot.toString()
Returns a string representation of this Robot.
|
String |
RenderingHints.toString()
Returns a rather long string representation of the hashmap
which contains the mappings of keys to values for this
RenderingHints object. |
String |
Rectangle.toString()
Returns a
String representing this
Rectangle and its values. |
String |
Point.toString()
Returns a string representation of this point and its location
in the
(x,y) coordinate space. |
String |
PageAttributes.toString()
Returns a string representation of this PageAttributes.
|
String |
MenuShortcut.toString()
Returns an internationalized description of the MenuShortcut.
|
String |
MenuComponent.toString()
Returns a representation of this menu component as a string.
|
String |
KeyboardFocusManager.LightweightFocusRequest.toString() |
String |
KeyboardFocusManager.HeavyweightFocusRequest.toString() |
String |
JobAttributes.toString()
Returns a string representation of this JobAttributes.
|
String |
Insets.toString()
Returns a string representation of this
Insets object. |
String |
GridLayout.toString()
Returns the string representation of this grid layout's values.
|
String |
GridBagLayout.toString()
Returns a string representation of this grid bag layout's values.
|
String |
Graphics.toString()
Returns a
String object representing this
Graphics object's value. |
String |
FontMetrics.toString()
Returns a representation of this
FontMetrics
object's values as a String. |
String |
Font.toString()
Converts this
Font object to a String
representation. |
String |
FlowLayout.toString()
Returns a string representation of this
FlowLayout
object and its values. |
String |
Event.toString()
NOTE: The
Event class is obsolete and is
available only for backwards compatilibility. |
String |
Dimension.toString()
Returns a string representation of the values of this
Dimension object's height and
width fields. |
String |
DefaultKeyboardFocusManager.TypeAheadMarker.toString()
Returns string representation of the marker
|
String |
Cursor.toString()
Returns a string representation of this cursor.
|
String |
Component.toString()
Returns a string representation of this component and its values.
|
String |
Color.toString()
Returns a string representation of this
Color. |
String |
CheckboxGroup.toString()
Returns a string representation of this check box group,
including the value of its current selection.
|
String |
CardLayout.toString()
Returns a string representation of the state of this card layout.
|
String |
BorderLayout.toString()
Returns a string representation of the state of this border layout.
|
String |
AttributeValue.toString() |
String |
AWTKeyStroke.toString()
Returns a string that displays and identifies this object's properties.
|
String |
AWTEvent.toString()
Returns a String representation of this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Menu.add(String label)
Adds an item with the specified label to this menu.
|
void |
List.add(String item)
Adds the specified item to the end of scrolling list.
|
void |
Choice.add(String item)
Adds an item to this
Choice menu. |
Component |
Container.add(String name,
Component comp)
Adds the specified component to this container.
|
void |
List.add(String item,
int index)
Adds the specified item to the the scrolling list
at the position indicated by the index.
|
void |
List.addItem(String item)
Deprecated.
replaced by
add(String). |
void |
Choice.addItem(String item)
Obsolete as of Java 2 platform v1.1.
|
void |
List.addItem(String item,
int index)
Deprecated.
replaced by
add(String, int). |
void |
LayoutManager.addLayoutComponent(String name,
Component comp)
If the layout manager uses a per-component string,
adds the component
comp to the layout,
associating it
with the string specified by name. |
void |
GridLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to the layout.
|
void |
GridBagLayout.addLayoutComponent(String name,
Component comp)
Has no effect, since this layout manager does not use a per-component string.
|
void |
FlowLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout.
|
void |
CardLayout.addLayoutComponent(String name,
Component comp)
Deprecated.
replaced by
addLayoutComponent(Component, Object). |
void |
BorderLayout.addLayoutComponent(String name,
Component comp)
Deprecated.
replaced by
addLayoutComponent(Component, Object). |
void |
Window.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
Toolkit.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Adds the specified property change listener for the named desktop
property.
|
void |
Toolkit.DesktopPropertyChangeSupport.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
SystemTray.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a
PropertyChangeListener to the list of listeners for the
specific property. |
void |
KeyboardFocusManager.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
Container.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
Component.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
void |
KeyboardFocusManager.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Adds a VetoableChangeListener to the listener list for a specific
property.
|
void |
TextArea.append(String str)
Appends the given text to the text area's current text.
|
void |
TextArea.appendText(String str)
Deprecated.
As of JDK version 1.1,
replaced by
append(String). |
void |
Window.applyResourceBundle(String rbName)
Deprecated.
As of J2SE 1.4, replaced by
Component.applyComponentOrientation. |
int |
Font.canDisplayUpTo(String str)
Indicates whether or not this
Font can display a
specified String. |
(package private) void |
Container.checkGD(String stringID)
Checks that all Components that this Container contains are on
the same GraphicsDevice as this Container.
|
(package private) void |
Component.checkGD(String stringID)
Checks that this component's
GraphicsDevice
idString matches the string argument. |
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
String name)
Creates a new custom cursor object.
|
GlyphVector |
Font.createGlyphVector(FontRenderContext frc,
String str)
Creates a
GlyphVector by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this Font. |
abstract Image |
Toolkit.createImage(String filename)
Returns an image which gets pixel data from the specified file.
|
static Font |
Font.decode(String str)
Returns the
Font that the str
argument describes. |
static Color |
Color.decode(String nm)
Converts a
String to an integer and returns the
specified opaque Color. |
void |
TrayIcon.displayMessage(String caption,
String text,
TrayIcon.MessageType messageType)
Displays a popup message near the tray icon.
|
abstract void |
Graphics2D.drawString(String str,
float x,
float y)
Renders the text specified by the specified
String,
using the current text attribute state in the Graphics2D context. |
abstract void |
Graphics2D.drawString(String str,
int x,
int y)
Renders the text of the specified
String, using the
current text attribute state in the Graphics2D context. |
abstract void |
Graphics.drawString(String str,
int x,
int y)
Draws the text given by the specified string, using this
graphics context's current font and color.
|
Integer |
VKCollection.findCode(String name) |
private int |
TextComponent.AccessibleAWTTextComponent.findWordLimit(int index,
BreakIterator words,
boolean direction,
String s)
Needed to unify forward and backward searching.
|
protected void |
Component.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Support for reporting bound property changes for boolean properties.
|
void |
Component.firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
Reports a bound property change.
|
void |
Component.firePropertyChange(String propertyName,
char oldValue,
char newValue)
Reports a bound property change.
|
void |
Component.firePropertyChange(String propertyName,
double oldValue,
double newValue)
Reports a bound property change.
|
void |
Component.firePropertyChange(String propertyName,
float oldValue,
float newValue)
Reports a bound property change.
|
protected void |
Component.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Support for reporting bound property changes for integer properties.
|
void |
Component.firePropertyChange(String propertyName,
long oldValue,
long newValue)
Reports a bound property change.
|
private void |
SystemTray.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for Object properties.
|
protected void |
KeyboardFocusManager.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a bound property.
|
protected void |
Component.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for Object properties.
|
void |
Component.firePropertyChange(String propertyName,
short oldValue,
short newValue)
Reports a bound property change.
|
protected void |
KeyboardFocusManager.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent in response to a change in a vetoable
property.
|
static AWTKeyStroke |
AWTKeyStroke.getAWTKeyStroke(String s)
Parses a string and returns an
AWTKeyStroke. |
private Component |
BorderLayout.getChild(String key,
boolean ltr)
Get the component that corresponds to the given constraint location
|
static Color |
Color.getColor(String nm)
Finds a color in the system properties.
|
static Color |
Color.getColor(String nm,
Color v)
Finds a color in the system properties.
|
static Color |
Color.getColor(String nm,
int v)
Finds a color in the system properties.
|
Object |
Toolkit.getDesktopProperty(String propertyName)
Obtains a value for the specified desktop property.
|
static Font |
Font.getFont(String nm)
Returns a
Font object from the system properties list. |
static Font |
Font.getFont(String nm,
Font font)
Gets the specified
Font from the system properties
list. |
protected abstract FontPeer |
Toolkit.getFontPeer(String name,
int style)
Deprecated.
see java.awt.GraphicsEnvironment#getAllFonts
|
abstract Image |
Toolkit.getImage(String filename)
Returns an image which gets pixel data from the specified file,
whose format can be either GIF, JPEG or PNG.
|
LineMetrics |
Font.getLineMetrics(String str,
FontRenderContext frc)
|
LineMetrics |
FontMetrics.getLineMetrics(String str,
Graphics context)
|
LineMetrics |
Font.getLineMetrics(String str,
int beginIndex,
int limit,
FontRenderContext frc)
Returns a
LineMetrics object created with the
specified arguments. |
LineMetrics |
FontMetrics.getLineMetrics(String str,
int beginIndex,
int limit,
Graphics context)
|
PrintJob |
Toolkit.getPrintJob(Frame frame,
String jobtitle,
JobAttributes jobAttributes,
PageAttributes pageAttributes)
Gets a
PrintJob object which is the result of initiating
a print operation on the toolkit's platform. |
abstract PrintJob |
Toolkit.getPrintJob(Frame frame,
String jobtitle,
Properties props)
Gets a
PrintJob object which is the result of initiating
a print operation on the toolkit's platform. |
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name.
|
static String |
Toolkit.getProperty(String key,
String defaultValue)
Gets a property with the specified key and default.
|
PropertyChangeListener[] |
Toolkit.getPropertyChangeListeners(String propertyName)
Returns an array of all property change listeners
associated with the specified name of a desktop property.
|
PropertyChangeListener[] |
Toolkit.DesktopPropertyChangeSupport.getPropertyChangeListeners(String propertyName) |
PropertyChangeListener[] |
SystemTray.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners that have been associated
with the named property.
|
PropertyChangeListener[] |
KeyboardFocusManager.getPropertyChangeListeners(String propertyName)
Returns an array of all the
PropertyChangeListeners
associated with the named property. |
PropertyChangeListener[] |
Component.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
Rectangle2D |
Font.getStringBounds(String str,
FontRenderContext frc)
Returns the logical bounds of the specified
String in
the specified FontRenderContext. |
Rectangle2D |
FontMetrics.getStringBounds(String str,
Graphics context)
Returns the bounds of the specified
String in the
specified Graphics context. |
Rectangle2D |
Font.getStringBounds(String str,
int beginIndex,
int limit,
FontRenderContext frc)
Returns the logical bounds of the specified
String in
the specified FontRenderContext. |
Rectangle2D |
FontMetrics.getStringBounds(String str,
int beginIndex,
int limit,
Graphics context)
Returns the bounds of the specified
String in the
specified Graphics context. |
static Cursor |
Cursor.getSystemCustomCursor(String name)
Returns a system-specific custom cursor object matching the
specified name.
|
VetoableChangeListener[] |
KeyboardFocusManager.getVetoableChangeListeners(String propertyName)
Returns an array of all the
VetoableChangeListeners
associated with the named property. |
private static int |
AWTKeyStroke.getVKValue(String key)
Returns the integer constant for the KeyEvent.VK field named
key. |
private void |
Frame.init(String title,
GraphicsConfiguration gc) |
(package private) static Set |
KeyboardFocusManager.initFocusTraversalKeysSet(String value,
Set targetSet) |
void |
TextArea.insert(String str,
int pos)
Inserts the specified text at the specified position
in this text area.
|
void |
Menu.insert(String label,
int index)
Inserts a menu item with the specified label into this menu
at the specified position.
|
void |
Choice.insert(String item,
int index)
Inserts the item into this choice at the specified position.
|
private void |
Choice.insertNoInvalidate(String item,
int index)
Inserts an item to this
Choice,
but does not invalidate the Choice. |
void |
TextArea.insertText(String str,
int pos)
Deprecated.
As of JDK version 1.1,
replaced by
insert(String, int). |
(package private) static boolean |
Component.isInstanceOf(Object obj,
String className)
Checks that the given object is instance of the given class.
|
protected Object |
Toolkit.lazilyLoadDesktopProperty(String name)
an opportunity to lazily evaluate desktop property values.
|
void |
VKCollection.put(String name,
Integer code) |
void |
List.remove(String item)
Removes the first occurrence of an item from the list.
|
void |
Choice.remove(String item)
Removes the first occurrence of
item
from the Choice menu. |
void |
Toolkit.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Removes the specified property change listener for the named
desktop property.
|
void |
Toolkit.DesktopPropertyChangeSupport.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
SystemTray.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a
PropertyChangeListener from the listener list
for a specific property. |
void |
KeyboardFocusManager.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list for a specific
property.
|
void |
Component.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a
PropertyChangeListener from the listener
list for a specific property. |
void |
KeyboardFocusManager.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Removes a VetoableChangeListener from the listener list for a specific
property.
|
void |
List.replaceItem(String newValue,
int index)
Replaces the item at the specified index in the scrolling list
with the new string.
|
void |
TextArea.replaceRange(String str,
int start,
int end)
Replaces text between the indicated start and end positions
with the specified replacement text.
|
void |
TextArea.replaceText(String str,
int start,
int end)
Deprecated.
As of JDK version 1.1,
replaced by
replaceRange(String, int, int). |
protected static void |
AWTEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l) |
protected void |
AWTEventMulticaster.saveInternal(ObjectOutputStream s,
String k) |
void |
Choice.select(String str)
Sets the selected item in this
Choice menu
to be the item whose name is equal to the specified string. |
void |
TrayIcon.setActionCommand(String command)
Sets the command name for the action event fired by this tray
icon.
|
void |
MenuItem.setActionCommand(String command)
Sets the command name of the action event that is fired
by this menu item.
|
void |
Button.setActionCommand(String command)
Sets the command name for the action event fired
by this button.
|
protected void |
Toolkit.setDesktopProperty(String name,
Object newValue)
Sets the named desktop property to the specified value and fires a
property change event to notify any listeners that the value has changed.
|
void |
FileDialog.setDirectory(String dir)
Sets the directory of this file dialog window to be the
specified directory.
|
void |
FileDialog.setFile(String file)
Sets the selected file for this file dialog window to be the
specified file.
|
void |
JobAttributes.setFileName(String fileName)
Specifies the file name for the output file for jobs using these
attributes.
|
void |
MenuItem.setLabel(String label)
Sets the label for this menu item to the specified label.
|
void |
Checkbox.setLabel(String label)
Sets this check box's label to be the string argument.
|
void |
Button.setLabel(String label)
Sets the button's label to be the specified string.
|
void |
MenuComponent.setName(String name)
Sets the name of the component to the specified string.
|
void |
Component.setName(String name)
Sets the name of the component to the specified string.
|
void |
JobAttributes.setPrinter(String printer)
Specifies the destination printer for jobs using these attributes.
|
void |
TextField.setText(String t)
Sets the text that is presented by this
text component to be the specified text.
|
void |
TextComponent.setText(String t)
Sets the text that is presented by this
text component to be the specified text.
|
void |
Label.setText(String text)
Sets the text for this label to the specified text.
|
void |
Frame.setTitle(String title)
Sets the title for this frame to the specified string.
|
void |
Dialog.setTitle(String title)
Sets the title of the Dialog.
|
void |
TrayIcon.setToolTip(String tooltip)
Sets the tooltip string for this
TrayIcon. |
void |
CardLayout.show(Container parent,
String name)
Flips to the component that was added to this layout with the
specified
name, using addLayoutComponent. |
int |
FontMetrics.stringWidth(String str)
Returns the total advance width for showing the specified
String in this Font. |
static Window.Type |
Window.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrayIcon.MessageType |
TrayIcon.MessageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultipleGradientPaint.CycleMethod |
MultipleGradientPaint.CycleMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultipleGradientPaint.ColorSpaceType |
MultipleGradientPaint.ColorSpaceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphicsDevice.WindowTranslucency |
GraphicsDevice.WindowTranslucency.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventFilter.FilterAction |
EventFilter.FilterAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ModalityType |
Dialog.ModalityType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ModalExclusionType |
Dialog.ModalExclusionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Desktop.Action |
Desktop.Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Component.BaselineResizeBehavior |
Component.BaselineResizeBehavior.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
AttributeValue(int value,
String[] names) |
AWTError(String msg)
Constructs an instance of
AWTError with the specified
detail message. |
AWTException(String msg)
Constructs an instance of
AWTException with the
specified detail message. |
AWTPermission(String name)
Creates a new
AWTPermission with the specified name. |
AWTPermission(String name,
String actions)
Creates a new
AWTPermission object with the specified name. |
Button(String label)
Constructs a button with the specified label.
|
CardLayout.Card(String cardName,
Component cardComponent) |
Checkbox(String label)
Creates a check box with the specified label.
|
Checkbox(String label,
boolean state)
Creates a check box with the specified label
and sets the specified state.
|
Checkbox(String label,
boolean state,
CheckboxGroup group)
Constructs a Checkbox with the specified label, set to the
specified state, and in the specified check box group.
|
Checkbox(String label,
CheckboxGroup group,
boolean state)
Creates a check box with the specified label, in the specified
check box group, and set to the specified state.
|
CheckboxMenuItem(String label)
Create a check box menu item with the specified label.
|
CheckboxMenuItem(String label,
boolean state)
Create a check box menu item with the specified label and state.
|
Cursor(String name)
Creates a new custom cursor object with the specified name.
|
Dialog(Dialog owner,
String title)
Constructs an initially invisible, modeless
Dialog
with the specified owner Dialog and title. |
Dialog(Dialog owner,
String title,
boolean modal)
Constructs an initially invisible
Dialog with the
specified owner Dialog, title, and modality. |
Dialog(Dialog owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the
specified owner Dialog, title, modality and
GraphicsConfiguration. |
Dialog(Frame owner,
String title)
Constructs an initially invisible, modeless
Dialog with
the specified owner Frame and title. |
Dialog(Frame owner,
String title,
boolean modal)
Constructs an initially invisible
Dialog with the
specified owner Frame, title and modality. |
Dialog(Frame owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the specified owner
Frame, title, modality, and GraphicsConfiguration. |
Dialog(Window owner,
String title)
Constructs an initially invisible, modeless
Dialog with
the specified owner Window and title. |
Dialog(Window owner,
String title,
Dialog.ModalityType modalityType)
Constructs an initially invisible
Dialog with the
specified owner Window, title and modality. |
Dialog(Window owner,
String title,
Dialog.ModalityType modalityType,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the
specified owner Window, title, modality and
GraphicsConfiguration. |
EventDispatchThread(ThreadGroup group,
String name,
EventQueue queue) |
FileDialog(Dialog parent,
String title)
Creates a file dialog window with the specified title for loading
a file.
|
FileDialog(Dialog parent,
String title,
int mode)
Creates a file dialog window with the specified title for loading
or saving a file.
|
FileDialog(Frame parent,
String title)
Creates a file dialog window with the specified title for loading
a file.
|
FileDialog(Frame parent,
String title,
int mode)
Creates a file dialog window with the specified title for loading
or saving a file.
|
Font(sun.font.AttributeValues values,
String oldName,
int oldStyle,
boolean created,
sun.font.Font2DHandle handle) |
Font(String name,
int style,
float sizePts) |
Font(String name,
int style,
float sizePts,
boolean created,
sun.font.Font2DHandle handle) |
Font(String name,
int style,
int size)
Creates a new
Font from the specified name, style and
point size. |
FontFormatException(String reason)
Report a FontFormatException for the reason specified.
|
Frame(String title)
Constructs a new, initially invisible
Frame object
with the specified title. |
Frame(String title,
GraphicsConfiguration gc)
Constructs a new, initially invisible
Frame object
with the specified title and a
GraphicsConfiguration. |
HeadlessException(String msg) |
IllegalComponentStateException(String s)
Constructs an IllegalComponentStateException with the specified detail
message.
|
JobAttributes(int copies,
JobAttributes.DefaultSelectionType defaultSelection,
JobAttributes.DestinationType destination,
JobAttributes.DialogType dialog,
String fileName,
int maxPage,
int minPage,
JobAttributes.MultipleDocumentHandlingType multipleDocumentHandling,
int[][] pageRanges,
String printer,
JobAttributes.SidesType sides)
Constructs a
JobAttributes instance with the
specified values for every attribute. |
Label(String text)
Constructs a new label with the specified string of text,
left justified.
|
Label(String text,
int alignment)
Constructs a new label that presents the specified string of
text with the specified alignment.
|
Menu(String label)
Constructs a new menu with the specified label.
|
Menu(String label,
boolean tearOff)
Constructs a new menu with the specified label,
indicating whether the menu can be torn off.
|
MenuItem(String label)
Constructs a new MenuItem with the specified label
and no keyboard shortcut.
|
MenuItem(String label,
MenuShortcut s)
Create a menu item with an associated keyboard shortcut.
|
PopupMenu(String label)
Creates a new popup menu with the specified name.
|
TextArea(String text)
Constructs a new text area with the specified text.
|
TextArea(String text,
int rows,
int columns)
Constructs a new text area with the specified text,
and with the specified number of rows and columns.
|
TextArea(String text,
int rows,
int columns,
int scrollbars)
Constructs a new text area with the specified text,
and with the rows, columns, and scroll bar visibility
as specified.
|
TextComponent(String text)
Constructs a new text component initialized with the
specified text.
|
TextField(String text)
Constructs a new text field initialized with the specified text.
|
TextField(String text,
int columns)
Constructs a new text field initialized with the specified text
to be displayed, and wide enough to hold the specified
number of columns.
|
TrayIcon(Image image,
String tooltip)
Creates a
TrayIcon with the specified image and
tooltip text. |
TrayIcon(Image image,
String tooltip,
PopupMenu popup)
Creates a
TrayIcon with the specified image,
tooltip and popup menu. |
| Modifier and Type | Field and Description |
|---|---|
private String[] |
ColorSpace.compName |
| Modifier and Type | Method and Description |
|---|---|
String |
ColorSpace.getName(int idx)
Returns the name of the component given the component index.
|
| Modifier and Type | Method and Description |
|---|---|
static ICC_Profile |
ICC_Profile.getInstance(String fileName)
Constructs an ICC_Profile corresponding to the data in a file.
|
private static File |
ICC_Profile.getProfileFile(String fileName) |
private static ICC_Profile |
ICC_Profile.getStandardProfile(String name) |
private static File |
ICC_Profile.getStandardProfileFile(String fileName)
Returns a file object corresponding to a built-in profile
specified by fileName.
|
private static boolean |
ICC_Profile.isChildOf(File f,
String dirName)
Checks whether given file resides inside give directory.
|
private static boolean |
ICC_Profile.standardProfileExists(String fileName)
Checks whether built-in profile specified by fileName exists.
|
void |
ICC_Profile.write(String fileName)
Write this ICC_Profile to a file.
|
| Constructor and Description |
|---|
CMMException(String s)
Constructs a CMMException with the specified detail message.
|
ProfileDataException(String s)
Constructs a ProfileDataException with the specified detail message.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
StringSelection.data |
private static String[] |
SystemFlavorMap.ENCODED_TEXT_CLASSES
The list of valid, encoded text flavor representation classes, in order
from best to worst.
|
private String |
DataFlavor.humanPresentableName |
static String |
DataFlavor.javaJVMLocalObjectMimeType
To transfer a reference to an arbitrary Java object reference that
has no associated MIME Content-type, across a
Transferable
interface WITHIN THE SAME JVM, a DataFlavor
with this type/subtype is used, with a representationClass
equal to the type of the class/interface being passed across the
Transferable. |
private static String |
SystemFlavorMap.JavaMIME
Constant prefix used to tag Java types converted to native platform
type.
|
static String |
DataFlavor.javaRemoteObjectMimeType
In order to pass a live link to a Remote object via a Drag and Drop
ACTION_LINK operation a Mime Content Type of
application/x-java-remote-object should be used,
where the representation class of the DataFlavor
represents the type of the Remote interface to be
transferred. |
static String |
DataFlavor.javaSerializedObjectMimeType
A MIME Content-Type of application/x-java-serialized-object represents
a graph of Java object(s) that have been made persistent.
|
private static String |
SystemFlavorMap.keyValueSeparators
Copied from java.util.Properties.
|
(package private) String |
Clipboard.name |
private String |
MimeType.primaryType |
private static String |
SystemFlavorMap.strictKeyValueSeparators |
private String |
MimeType.subType |
private static String |
SystemFlavorMap.TEXT_PLAIN_BASE_TYPE
A String representing text/plain MIME type.
|
private static String |
MimeTypeParameterList.TSPECIALS
A string that holds all the special chars.
|
private static String |
MimeType.TSPECIALS
A string that holds all the special chars.
|
private static String[] |
SystemFlavorMap.UNICODE_TEXT_CLASSES
The list of valid, decoded text flavor representation classes, in order
from best to worst.
|
private static String |
SystemFlavorMap.whiteSpaceChars |
| Modifier and Type | Method and Description |
|---|---|
static String |
SystemFlavorMap.decodeJavaMIMEType(String nat)
Decodes a
String native for use as a Java MIME type. |
static String |
SystemFlavorMap.encodeDataFlavor(DataFlavor flav)
Encodes a
DataFlavor for use as a String
native. |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
Encodes a MIME type for use as a
String native. |
String |
MimeTypeParameterList.get(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
String |
MimeType.getBaseType()
Return a String representation of this object
without the parameter list.
|
String |
DataFlavor.getDefaultRepresentationClassAsString() |
String |
DataFlavor.getHumanPresentableName()
Returns the human presentable name for the data format that this
DataFlavor represents. |
String |
DataFlavor.getMimeType()
Returns the MIME type string for this
DataFlavor. |
String |
Clipboard.getName()
Returns the name of this clipboard object.
|
String |
MimeType.getParameter(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
String |
DataFlavor.getParameter(String paramName)
Returns the human presentable name for this
DataFlavor
if paramName equals "humanPresentableName". |
String |
MimeType.getPrimaryType()
Retrieve the primary type of this object.
|
String |
DataFlavor.getPrimaryType()
Returns the primary MIME type for this
DataFlavor. |
String |
MimeType.getSubType()
Retrieve the sub type of this object.
|
String |
DataFlavor.getSubType()
Returns the sub MIME type of this
DataFlavor. |
private String |
SystemFlavorMap.loadConvert(String theString)
Copied from java.util.Properties.
|
protected String |
DataFlavor.normalizeMimeType(String mimeType)
Deprecated.
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated.
|
private String |
DataFlavor.paramString() |
private static String |
MimeTypeParameterList.quote(String value)
A routine that knows how and when to quote and escape the given value.
|
String |
MimeTypeParameterList.toString() |
String |
MimeType.toString()
Return the String representation of this object.
|
String |
DataFlavor.toString()
String representation of this
DataFlavor and its
parameters. |
private static String |
MimeTypeParameterList.unquote(String value)
A routine that knows how to strip the quotes and escape sequences from the given value.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,DataFlavor> |
SystemFlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their most preferred DataFlavor. |
Map<String,DataFlavor> |
FlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their corresponding DataFlavor. |
List<String> |
SystemFlavorMap.getNativesForFlavor(DataFlavor flav)
Returns a
List of String natives to which the
specified DataFlavor can be translated by the data transfer
subsystem. |
List<String> |
FlavorTable.getNativesForFlavor(DataFlavor flav)
Returns a
List of String natives to which the
specified DataFlavor corresponds. |
Map<DataFlavor,String> |
SystemFlavorMap.getNativesForFlavors(DataFlavor[] flavors)
Returns a
Map of the specified DataFlavors to
their most preferred String native. |
Map<DataFlavor,String> |
FlavorMap.getNativesForFlavors(DataFlavor[] flavors)
Returns a
Map of the specified DataFlavors to
their corresponding String native. |
| Modifier and Type | Method and Description |
|---|---|
void |
SystemFlavorMap.addFlavorForUnencodedNative(String nat,
DataFlavor flav)
Adds a mapping from a single
String native to a single
DataFlavor. |
void |
SystemFlavorMap.addUnencodedNativeForFlavor(DataFlavor flav,
String nat)
Adds a mapping from the specified
DataFlavor (and all
DataFlavors equal to the specified DataFlavor)
to the specified String native. |
private boolean |
SystemFlavorMap.continueLine(String line)
Copied from java.util.Properties.
|
private static DataFlavor |
DataFlavor.createConstant(Class rc,
String prn) |
private static DataFlavor |
DataFlavor.createConstant(String mt,
String prn) |
static DataFlavor |
SystemFlavorMap.decodeDataFlavor(String nat)
Decodes a
String native for use as a
DataFlavor. |
static String |
SystemFlavorMap.decodeJavaMIMEType(String nat)
Decodes a
String native for use as a Java MIME type. |
static String |
SystemFlavorMap.encodeJavaMIMEType(String mimeType)
Encodes a MIME type for use as a
String native. |
boolean |
DataFlavor.equals(String s)
Deprecated.
As inconsistent with
hashCode() contract,
use isMimeTypeEqual(String) instead. |
String |
MimeTypeParameterList.get(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
List<DataFlavor> |
SystemFlavorMap.getFlavorsForNative(String nat)
Returns a
List of DataFlavors to which the
specified String native can be translated by the data
transfer subsystem. |
List<DataFlavor> |
FlavorTable.getFlavorsForNative(String nat)
Returns a
List of DataFlavors to which the
specified String corresponds. |
Map<String,DataFlavor> |
SystemFlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their most preferred DataFlavor. |
Map<String,DataFlavor> |
FlavorMap.getFlavorsForNatives(String[] natives)
Returns a
Map of the specified String natives
to their corresponding DataFlavor. |
String |
MimeType.getParameter(String name)
Retrieve the value associated with the given name, or null if there
is no current association.
|
String |
DataFlavor.getParameter(String paramName)
Returns the human presentable name for this
DataFlavor
if paramName equals "humanPresentableName". |
private void |
DataFlavor.initialize(String mimeType,
String humanPresentableName,
ClassLoader classLoader)
Common initialization code called from various constructors.
|
static boolean |
SystemFlavorMap.isJavaMIMEType(String str)
Returns whether the specified
String is an encoded Java
MIME type. |
boolean |
DataFlavor.isMimeTypeEqual(String mimeType)
Returns whether the string representation of the MIME type passed in
is equivalent to the MIME type of this
DataFlavor. |
private boolean |
MimeType.isValidToken(String s)
Determines whether or not a given string is a legal token.
|
private String |
SystemFlavorMap.loadConvert(String theString)
Copied from java.util.Properties.
|
boolean |
MimeType.match(String rawdata)
Returns
true if the primary type and the
subtype of this object are the same as the content type
described in rawdata; otherwise returns
false. |
private List |
SystemFlavorMap.nativeToFlavorLookup(String nat)
Semantically equivalent to 'nativeToFlavor.get(nat)'.
|
protected String |
DataFlavor.normalizeMimeType(String mimeType)
Deprecated.
|
protected String |
DataFlavor.normalizeMimeTypeParameter(String parameterName,
String parameterValue)
Deprecated.
|
protected void |
MimeTypeParameterList.parse(String rawdata)
A routine for parsing the parameter list out of a String.
|
private void |
MimeType.parse(String rawdata)
A routine for parsing the MIME type out of a String.
|
private static String |
MimeTypeParameterList.quote(String value)
A routine that knows how and when to quote and escape the given value.
|
void |
MimeTypeParameterList.remove(String name)
Remove any value associated with the given name.
|
void |
MimeType.removeParameter(String name)
Remove any value associated with the given name.
|
void |
MimeTypeParameterList.set(String name,
String value)
Set the value to be associated with the given name, replacing
any previous association.
|
void |
SystemFlavorMap.setFlavorsForNative(String nat,
DataFlavor[] flavors)
Discards the current mappings for the specified
String
native, and creates new mappings to the specified
DataFlavors. |
void |
DataFlavor.setHumanPresentableName(String humanPresentableName)
Sets the human presentable name for the data format that this
DataFlavor represents. |
void |
SystemFlavorMap.setNativesForFlavor(DataFlavor flav,
String[] natives)
Discards the current mappings for the specified
DataFlavor
and all DataFlavors equal to the specified
DataFlavor, and creates new mappings to the
specified String natives. |
void |
MimeType.setParameter(String name,
String value)
Set the value to be associated with the given name, replacing
any previous association.
|
private static int |
MimeTypeParameterList.skipWhiteSpace(String rawdata,
int i)
return the index of the first non white space character in
rawdata at or after index i.
|
protected static Class<?> |
DataFlavor.tryToLoadClass(String className,
ClassLoader fallback)
Tries to load a class from: the bootstrap loader, the system loader,
the context loader (if one is present) and finally the loader specified.
|
private static String |
MimeTypeParameterList.unquote(String value)
A routine that knows how to strip the quotes and escape sequences from the given value.
|
| Constructor and Description |
|---|
Clipboard(String name)
Creates a clipboard object.
|
DataFlavor(Class<?> representationClass,
String humanPresentableName)
Constructs a
DataFlavor that represents a Java class. |
DataFlavor(String mimeType)
Constructs a
DataFlavor from a mimeType string. |
DataFlavor(String mimeType,
String humanPresentableName)
Constructs a
DataFlavor that represents a
MimeType. |
DataFlavor(String mimeType,
String humanPresentableName,
ClassLoader classLoader)
Constructs a
DataFlavor that represents a
MimeType. |
DataFlavor(String primaryType,
String subType,
MimeTypeParameterList params,
Class representationClass,
String humanPresentableName)
Constructs a fully specified
DataFlavor. |
MimeType(String rawdata)
Builds a
MimeType from a String. |
MimeType(String primary,
String sub)
Builds a
MimeType with the given primary and sub
type but has an empty parameter list. |
MimeType(String primary,
String sub,
MimeTypeParameterList mtpl)
Builds a
MimeType with a pre-defined
and valid (or empty) parameter list. |
MimeTypeParameterList(String rawdata) |
MimeTypeParseException(String s)
Constructs a MimeTypeParseException with the specified detail message.
|
StringSelection(String data)
Creates a
Transferable capable of transferring
the specified String. |
| Modifier and Type | Field and Description |
|---|---|
private static String |
InvalidDnDOperationException.dft_msg |
(package private) static String |
DragSource.dragSourceListenerK
Internal constants for serialization.
|
(package private) static String |
DragSource.dragSourceMotionListenerK |
| Modifier and Type | Method and Description |
|---|---|
private static Cursor |
DragSource.load(String name) |
protected static void |
DnDEventMulticaster.save(ObjectOutputStream s,
String k,
EventListener l) |
| Constructor and Description |
|---|
InvalidDnDOperationException(String msg)
Create an Exception with its own descriptive message
|
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
ActionEvent.actionCommand
The nonlocalized string that gives more details
of what actually caused the event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ActionEvent.getActionCommand()
Returns the command string associated with this action.
|
static String |
KeyEvent.getKeyModifiersText(int modifiers)
Returns a
String describing the modifier key(s),
such as "Shift", or "Ctrl+Shift". |
static String |
KeyEvent.getKeyText(int keyCode)
Returns a String describing the keyCode, such as "HOME", "F1" or "A".
|
static String |
InputEvent.getModifiersExText(int modifiers)
Returns a String describing the extended modifier keys and
mouse buttons, such as "Shift", "Button1", or "Ctrl+Shift".
|
static String |
MouseEvent.getMouseModifiersText(int modifiers)
Returns a
String instance describing the modifier keys and
mouse buttons that were down during the event, such as "Shift",
or "Ctrl+Shift". |
String |
WindowEvent.paramString()
Returns a parameter string identifying this event.
|
String |
TextEvent.paramString()
Returns a parameter string identifying this text event.
|
String |
PaintEvent.paramString() |
String |
MouseWheelEvent.paramString()
Returns a parameter string identifying this event.
|
String |
MouseEvent.paramString()
Returns a parameter string identifying this event.
|
String |
KeyEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ItemEvent.paramString()
Returns a parameter string identifying this item event.
|
String |
InvocationEvent.paramString()
Returns a parameter string identifying this event.
|
String |
InputMethodEvent.paramString()
Returns a parameter string identifying this event.
|
String |
HierarchyEvent.paramString()
Returns a parameter string identifying this event.
|
String |
FocusEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ContainerEvent.paramString()
Returns a parameter string identifying this event.
|
String |
ComponentEvent.paramString()
Returns a parameter string identifying this event.
|
String |
AdjustmentEvent.paramString() |
String |
ActionEvent.paramString()
Returns a parameter string identifying this action event.
|
| Constructor and Description |
|---|
ActionEvent(Object source,
int id,
String command)
Constructs an
ActionEvent object. |
ActionEvent(Object source,
int id,
String command,
int modifiers)
Constructs an
ActionEvent object with modifier keys. |
ActionEvent(Object source,
int id,
String command,
long when,
int modifiers)
Constructs an
ActionEvent object with the specified
modifier keys and timestamp. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
MultipleMaster.getDesignAxisNames()
Returns the name for each design axis.
|
String |
TextLine.toString() |
String |
TextLayout.toString()
Returns debugging information for this
TextLayout. |
String |
TextHitInfo.toString()
Returns a
String representing the hit for debugging
use only. |
String |
NumericShaper.toString()
Returns a
String that describes this shaper. |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
OpenType.getFontTable(String strSfntTag)
Returns the table as an array of bytes for a specified tag.
|
byte[] |
OpenType.getFontTable(String strSfntTag,
int offset,
int count)
Returns a subset of the table as an array of bytes
for a specified tag.
|
int |
OpenType.getFontTableSize(String strSfntTag)
Returns the size of the table for a specified tag.
|
static NumericShaper.Range |
NumericShaper.Range.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
TextAttribute(String name)
Constructs a
TextAttribute with the specified name. |
TextLayout(String string,
Font font,
FontRenderContext frc)
|
TextLayout(String string,
Map<? extends AttributedCharacterIterator.Attribute,?> attributes,
FontRenderContext frc)
Constructs a
TextLayout from a String
and an attribute set. |
| Modifier and Type | Method and Description |
|---|---|
String |
Rectangle2D.Float.toString()
Returns the
String representation of this
Rectangle2D. |
String |
Rectangle2D.Double.toString()
Returns the
String representation of this
Rectangle2D. |
String |
Point2D.Float.toString()
Returns a
String that represents the value
of this Point2D. |
String |
Point2D.Double.toString()
Returns a
String that represents the value
of this Point2D. |
String |
AffineTransform.toString()
Returns a
String that represents the value of this
Object. |
| Constructor and Description |
|---|
IllegalPathStateException(String s)
Constructs an
IllegalPathStateException with the
specified detail message. |
NoninvertibleTransformException(String s)
Constructs an instance of
NoninvertibleTransformException
with the specified detail message. |
| Constructor and Description |
|---|
InputSubset(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
InputMethodDescriptor.getInputMethodDisplayName(Locale inputLocale,
Locale displayLanguage)
Returns the user-visible name of the corresponding
input method for the given input locale in the language in which
the name will be displayed.
|
| Modifier and Type | Method and Description |
|---|---|
JFrame |
InputMethodContext.createInputMethodJFrame(String title,
boolean attachToInputContext)
Creates a top-level Swing JFrame for use by the input method.
|
Window |
InputMethodContext.createInputMethodWindow(String title,
boolean attachToInputContext)
Creates a top-level window for use by the input method.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
RenderedImage.getPropertyNames()
Returns an array of names recognized by
getProperty(String)
or null, if no property names are recognized. |
String[] |
BufferedImage.getPropertyNames()
Returns an array of names recognized by
getProperty(String)
or null, if no property names are recognized. |
String |
IndexColorModel.toString()
Returns the
String representation of the contents of
this ColorModelobject. |
String |
DirectColorModel.toString()
Returns a
String that represents this
DirectColorModel. |
String |
ColorModel.toString()
Returns the
String representation of the contents of
this ColorModelobject. |
String |
BufferedImage.toString()
Returns a
String representation of this
BufferedImage object and its values. |
| Modifier and Type | Method and Description |
|---|---|
private void |
PackedColorModel.DecomposeMask(int mask,
int idx,
String componentName) |
Object |
RenderedImage.getProperty(String name)
Gets a property from the property set of this image.
|
Object |
BufferedImage.getProperty(String name)
Returns a property of the image by name.
|
Object |
BufferedImage.getProperty(String name,
ImageObserver observer)
Returns a property of the image by name.
|
| Constructor and Description |
|---|
ImagingOpException(String s)
Constructs an
ImagingOpException object with the
specified message. |
RasterFormatException(String s)
Constructs a new
RasterFormatException with the
specified message. |
| Modifier and Type | Field and Description |
|---|---|
static String |
RenderableImage.HINTS_OBSERVED
String constant that can be used to identify a property on
a RenderedImage obtained via the createRendering or
createScaledRendering methods.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
RenderableImageOp.getPropertyNames()
Return a list of names recognized by getProperty.
|
String[] |
RenderableImage.getPropertyNames()
Returns a list of names recognized by getProperty.
|
String[] |
ContextualRenderedImageFactory.getPropertyNames()
Returns a list of names recognized by getProperty.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ContextualRenderedImageFactory.getProperty(ParameterBlock paramBlock,
String name)
Gets the appropriate instance of the property specified by the name
parameter.
|
Object |
RenderableImageOp.getProperty(String name)
Gets a property from the property set of this image.
|
Object |
RenderableImage.getProperty(String name)
Gets a property from the property set of this image.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TextComponentPeer.getText()
Returns the current content of the text component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListPeer.add(String item,
int index)
Adds an item to the list at the specified index.
|
void |
ChoicePeer.add(String item,
int index)
Adds an item with the string
item to the combo box list
at index index. |
void |
TrayIconPeer.displayMessage(String caption,
String text,
String messageType)
Displays a message at the tray icon.
|
void |
TextAreaPeer.insert(String text,
int pos)
Inserts the specified text at the specified position in the document.
|
void |
TextAreaPeer.replaceRange(String text,
int start,
int end)
Replaces a range of text by the specified string
|
void |
FileDialogPeer.setDirectory(String dir)
Sets the current directory for this file dialog.
|
void |
FileDialogPeer.setFile(String file)
Sets the selected file for this file dialog.
|
void |
MenuItemPeer.setLabel(String label)
Sets the label to be displayed in this menu item.
|
void |
CheckboxPeer.setLabel(String label)
Sets the label that should be displayed on the ckeckbox.
|
void |
ButtonPeer.setLabel(String label)
Sets the label that is displayed on the button.
|
void |
TextComponentPeer.setText(String l)
Sets the content for the text component.
|
void |
LabelPeer.setText(String label)
Sets the text to be displayed on the label.
|
void |
FramePeer.setTitle(String title)
Sets the title on the frame.
|
void |
DialogPeer.setTitle(String title)
Sets the title on the dialog window.
|
void |
TrayIconPeer.setToolTip(String tooltip)
Sets the tool tip for the tray icon.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
PrinterJob.getJobName()
Gets the name of the document to be printed.
|
abstract String |
PrinterJob.getUserName()
Gets the name of the printing user.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamPrintServiceFactory[] |
PrinterJob.lookupStreamPrintServices(String mimeType)
A convenience method which locates factories for stream print
services which can image 2D graphics.
|
abstract void |
PrinterJob.setJobName(String jobName)
Sets the name of the document to be printed.
|
| Constructor and Description |
|---|
PrinterAbortException(String msg)
Constructs a new
PrinterAbortException with
the specified detail message. |
PrinterException(String msg)
Constructs a new
PrinterException object
with the specified detail message. |
| Modifier and Type | Field and Description |
|---|---|
private String |
EventHandler.action |
(package private) static String |
Introspector.ADD_PREFIX |
private String |
PropertyDescriptor.baseName |
private String |
XMLEncoder.charset |
private static String[] |
MetaData.java_awt_BorderLayout_PersistenceDelegate.CONSTRAINTS |
private String[] |
DefaultPersistenceDelegate.constructor |
private String |
Introspector.defaultEventName |
private String |
Introspector.defaultPropertyName |
private String |
FeatureDescriptor.displayName |
private String |
EventHandler.eventPropertyName |
(package private) static String |
Introspector.GET_PREFIX |
private String |
IndexedPropertyDescriptor.indexedReadMethodName |
private String |
IndexedPropertyDescriptor.indexedWriteMethodName |
(package private) static String |
Introspector.IS_PREFIX |
private String |
EventHandler.listenerMethodName |
private String |
Statement.methodName |
String |
XMLEncoder.ValueData.name |
private String |
FeatureDescriptor.name |
private String[] |
MethodDescriptor.paramNames |
private String |
VetoableChangeListenerProxy.propertyName |
private String |
PropertyChangeListenerProxy.propertyName |
private String |
PropertyChangeEvent.propertyName
name of the property that changed.
|
static String |
DesignMode.PROPERTYNAME
The standard value of the propertyName as fired from a BeanContext or
other source of PropertyChangeEvents.
|
private String |
PropertyDescriptor.readMethodName |
(package private) static String |
Introspector.REMOVE_PREFIX |
(package private) static String |
Introspector.SET_PREFIX |
private String |
FeatureDescriptor.shortDescription |
private String |
MethodRef.signature |
private static String |
FeatureDescriptor.TRANSIENT |
private String |
PropertyDescriptor.writeMethodName |
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,Field> |
MetaData.fields |
private Map<String,L[]> |
ChangeListenerMap.map |
private Hashtable<String,Object> |
FeatureDescriptor.table |
| Modifier and Type | Method and Description |
|---|---|
static String |
NameGenerator.capitalize(String name)
Returns a String which capitalizes the first letter of the string.
|
private static String |
XMLEncoder.createString(int code) |
private String |
XMLEncoder.createString(String string) |
static String |
Introspector.decapitalize(String name)
Utility method to take a string and convert it to normal Java variable
name capitalization.
|
String |
EventHandler.getAction()
Returns the name of the target's writable property
that this event handler will set,
or the name of the method that this event handler
will invoke on the target.
|
private static String[] |
MetaData.getAnnotationValue(Constructor<?> constructor) |
String |
PropertyEditorSupport.getAsText()
Gets the property value as a string suitable for presentation
to a human to edit.
|
String |
PropertyEditor.getAsText()
Gets the property value as text.
|
(package private) String |
PropertyDescriptor.getBaseName() |
static String[] |
Introspector.getBeanInfoSearchPath()
Gets the list of package names that will be used for
finding BeanInfo classes.
|
private static String[] |
MetaData.getConstructorProperties(Class type) |
String |
FeatureDescriptor.getDisplayName()
Gets the localized display name of this feature.
|
static String[] |
PropertyEditorManager.getEditorSearchPath()
Gets the package names that will be searched for property editors.
|
String |
EventHandler.getEventPropertyName()
Returns the property of the event that should be
used in the action applied to the target.
|
String |
PropertyEditorSupport.getJavaInitializationString()
This method is intended for use when generating Java code to set
the value of the property.
|
String |
PropertyEditor.getJavaInitializationString()
Returns a fragment of Java code that can be used to set a property
to match the editors current state.
|
private static String |
EventSetDescriptor.getListenerClassName(Class cls) |
String |
EventHandler.getListenerMethodName()
Returns the name of the method that will trigger the action.
|
String |
Statement.getMethodName()
Returns the name of the method to invoke.
|
String |
FeatureDescriptor.getName()
Gets the programmatic name of this feature.
|
String |
BeansAppletStub.getParameter(String name) |
(package private) String[] |
MethodDescriptor.getParamNames() |
String |
VetoableChangeListenerProxy.getPropertyName()
Returns the name of the named property associated with the listener.
|
String |
PropertyChangeListenerProxy.getPropertyName()
Returns the name of the named property associated with the listener.
|
String |
PropertyChangeEvent.getPropertyName()
Gets the programmatic name of the property that was changed.
|
String |
FeatureDescriptor.getShortDescription()
Gets the short description of this feature.
|
String[] |
PropertyEditorSupport.getTags()
If the property value must be one of a set of known tagged values,
then this method should return an array of the tag values.
|
String[] |
PropertyEditor.getTags()
If the property value must be one of a set of known tagged values,
then this method should return an array of the tags.
|
(package private) String |
Statement.instanceName(Object instance) |
String |
NameGenerator.instanceName(Object instance)
Returns a unique string which identifies the object instance.
|
(package private) String |
Expression.instanceName(Object instance) |
private static String |
Introspector.makeQualifiedMethodName(String name,
String[] params)
Creates a key for a method in a method cache.
|
private String |
XMLEncoder.quote(String s) |
private static String |
XMLEncoder.quoteCharCode(int code) |
String |
Statement.toString()
Prints the value of this statement using a Java-style syntax.
|
String |
PropertyChangeEvent.toString()
Returns a string representation of the object.
|
String |
FeatureDescriptor.toString()
Returns a string representation of the object.
|
String |
Expression.toString()
Prints the value of this expression using a Java-style syntax.
|
static String |
NameGenerator.unqualifiedClassName(Class type)
Returns the root name of the class.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<String> |
FeatureDescriptor.attributeNames()
Gets an enumeration of the locale-independent names of this
feature.
|
Set<Map.Entry<String,L[]>> |
ChangeListenerMap.getEntries()
Returns a set of entries from the map.
|
private Hashtable<String,Object> |
FeatureDescriptor.getTable()
Returns the initialized attribute table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChangeListenerMap.add(String name,
L listener)
Adds a listener to the list of listeners for the specified property.
|
void |
PropertyChangeSupport.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Add a PropertyChangeListener for a specific property.
|
void |
VetoableChangeSupport.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Add a VetoableChangeListener for a specific property.
|
(package private) static void |
FeatureDescriptor.appendTo(StringBuilder sb,
String name,
boolean value) |
(package private) static void |
FeatureDescriptor.appendTo(StringBuilder sb,
String name,
Object value) |
(package private) static void |
FeatureDescriptor.appendTo(StringBuilder sb,
String name,
Reference reference) |
private Object |
EventHandler.applyGetters(Object target,
String getters) |
static String |
NameGenerator.capitalize(String name)
Returns a String which capitalizes the first letter of the string.
|
static <T> T |
EventHandler.create(Class<T> listenerInterface,
Object target,
String action)
Creates an implementation of
listenerInterface in which
all of the methods in the listener interface apply
the handler's action to the target. |
static <T> T |
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
/**
Creates an implementation of
listenerInterface in which
all of the methods pass the value of the event
expression, eventPropertyName, to the final method in the
statement, action, which is applied to the target. |
static <T> T |
EventHandler.create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates an implementation of
listenerInterface in which
the method named listenerMethodName
passes the value of the event expression, eventPropertyName,
to the final method in the statement, action, which
is applied to the target. |
private String |
XMLEncoder.createString(String string) |
static String |
Introspector.decapitalize(String name)
Utility method to take a string and convert it to normal Java variable
name capitalization.
|
private static Method |
MethodRef.find(Class<?> type,
String signature) |
private Method |
DefaultPersistenceDelegate.findMethod(Class type,
String property) |
(package private) static Method |
Introspector.findMethod(Class cls,
String methodName,
int argCount)
Find a target methodName on a given class.
|
(package private) static Method |
Introspector.findMethod(Class cls,
String methodName,
int argCount,
Class[] args)
Find a target methodName with specific parameter list on a given class.
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
boolean oldValue,
boolean newValue)
Reports a boolean bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
int oldValue,
int newValue)
Reports an integer bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue)
Reports a bound indexed property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Reports a boolean bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Reports an integer bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Reports a bound property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
boolean oldValue,
boolean newValue)
Reports a boolean constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
int oldValue,
int newValue)
Reports an integer constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
void |
VetoableChangeSupport.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Reports a constrained property update to listeners
that have been registered to track updates of
all properties or a property with the specified name.
|
L[] |
ChangeListenerMap.get(String name)
Returns the list of listeners for the specified property.
|
Applet |
BeansAppletContext.getApplet(String name) |
private static Object |
MetaData.getBeanAttribute(Class type,
String attribute) |
L[] |
ChangeListenerMap.getListeners(String name)
Returns listeners that have been associated with the named property.
|
(package private) static Method |
Statement.getMethod(Class<?> type,
String name,
Class<?>... args) |
private static Method |
EventSetDescriptor.getMethod(Class cls,
String name,
int args) |
String |
BeansAppletStub.getParameter(String name) |
(package private) static Object |
MetaData.getPrivateFieldValue(Object instance,
String name) |
PropertyChangeListener[] |
PropertyChangeSupport.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
private static PropertyDescriptor |
DefaultPersistenceDelegate.getPropertyDescriptor(Class type,
String property) |
InputStream |
BeansAppletContext.getStream(String key) |
Object |
FeatureDescriptor.getValue(String attributeName)
Retrieve a named attribute with this feature.
|
VetoableChangeListener[] |
VetoableChangeSupport.getVetoableChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
boolean |
VetoableChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property, including
those registered on all properties.
|
boolean |
PropertyChangeSupport.hasListeners(String propertyName)
Check if there are any listeners for a specific property, including
those registered on all properties.
|
boolean |
ChangeListenerMap.hasListeners(String name)
Indicates whether the map contains
at least one listener to be notified.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext)
Instantiate a JavaBean.
|
static Object |
Beans.instantiate(ClassLoader cls,
String beanName,
BeanContext beanContext,
AppletInitializer initializer)
Instantiate a bean.
|
(package private) static Object |
Introspector.instantiate(Class sibling,
String className)
Try to create an instance of a named class.
|
private static Method |
Introspector.internalFindMethod(Class start,
String methodName,
int argCount,
Class[] args)
Internal support for finding a target methodName with a given
parameter list on a given class.
|
(package private) static void |
DefaultPersistenceDelegate.invokeStatement(Object instance,
String methodName,
Object[] args,
Encoder out) |
private static boolean |
MetaData.isValid(Constructor<?> constructor,
String[] names) |
Image |
SimpleBeanInfo.loadImage(String resourceName)
This is a utility method to help in loading icon images.
|
private static String |
Introspector.makeQualifiedMethodName(String name,
String[] params)
Creates a key for a method in a method cache.
|
private static String |
Introspector.makeQualifiedMethodName(String name,
String[] params)
Creates a key for a method in a method cache.
|
protected abstract L |
ChangeListenerMap.newProxy(String name,
L listener)
Creates a proxy listener for the specified property.
|
protected PropertyChangeListener |
PropertyChangeSupport.PropertyChangeListenerMap.newProxy(String name,
PropertyChangeListener listener)
Creates a
PropertyChangeListenerProxy
object for the specified property. |
protected VetoableChangeListener |
VetoableChangeSupport.VetoableChangeListenerMap.newProxy(String name,
VetoableChangeListener listener)
Creates a
VetoableChangeListenerProxy
object for the specified property. |
private void |
XMLEncoder.outputXML(String tag,
String attributes,
Object value,
Object... args) |
private String |
XMLEncoder.quote(String s) |
void |
ChangeListenerMap.remove(String name,
L listener)
Removes a listener from the list of listeners for the specified property.
|
void |
PropertyChangeSupport.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove a PropertyChangeListener for a specific property.
|
void |
VetoableChangeSupport.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener)
Remove a VetoableChangeListener for a specific property.
|
void |
ChangeListenerMap.set(String name,
L[] listeners)
Sets new list of listeners for the specified property.
|
void |
PropertyEditorSupport.setAsText(String text)
Sets the property value by parsing a given String.
|
void |
PropertyEditor.setAsText(String text)
Set the property value by parsing a given String.
|
static void |
Introspector.setBeanInfoSearchPath(String[] path)
Change the list of package names that will be used for
finding BeanInfo classes.
|
void |
FeatureDescriptor.setDisplayName(String displayName)
Sets the localized display name of this feature.
|
static void |
PropertyEditorManager.setEditorSearchPath(String[] path)
Change the list of package names that will be used for
finding property editors.
|
void |
FeatureDescriptor.setName(String name)
Sets the programmatic name of this feature.
|
void |
FeatureDescriptor.setShortDescription(String text)
You can associate a short descriptive string with a feature.
|
void |
BeansAppletContext.setStream(String key,
InputStream stream) |
void |
FeatureDescriptor.setValue(String attributeName,
Object value)
Associate a named attribute with this feature.
|
void |
BeansAppletContext.showDocument(URL url,
String target) |
void |
BeansAppletContext.showStatus(String status) |
private void |
XMLEncoder.writeln(String exp) |
| Modifier and Type | Method and Description |
|---|---|
private void |
FeatureDescriptor.addTable(Hashtable<String,Object> table)
Copies all values from the specified attribute table.
|
| Constructor and Description |
|---|
DefaultPersistenceDelegate(String[] constructorPropertyNames)
Creates a default persistence delegate for a class with a
constructor whose arguments are the values of the property
names as specified by
constructorPropertyNames. |
EventHandler(Object target,
String action,
String eventPropertyName,
String listenerMethodName)
Creates a new
EventHandler object;
you generally use one of the create methods
instead of invoking this constructor directly. |
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String listenerMethodName)
Creates an EventSetDescriptor assuming that you are
following the most simple standard design pattern where a named
event "fred" is (1) delivered as a call on the single method of
interface FredListener, (2) has a single argument of type FredEvent,
and (3) where the FredListener may be registered with a call on an
addFredListener method of the source component and removed with a
call on a removeFredListener method.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName)
Creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(Class<?> sourceClass,
String eventSetName,
Class<?> listenerType,
String[] listenerMethodNames,
String addListenerMethodName,
String removeListenerMethodName,
String getListenerMethodName)
This constructor creates an EventSetDescriptor from scratch using
string names.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
Method[] listenerMethods,
Method addListenerMethod,
Method removeListenerMethod,
Method getListenerMethod)
This constructor creates an EventSetDescriptor from scratch using
java.lang.reflect.Method and java.lang.Class objects.
|
EventSetDescriptor(String eventSetName,
Class<?> listenerType,
MethodDescriptor[] listenerMethodDescriptors,
Method addListenerMethod,
Method removeListenerMethod)
Creates an EventSetDescriptor from scratch using
java.lang.reflect.MethodDescriptor and java.lang.Class
objects.
|
Expression(Object value,
Object target,
String methodName,
Object[] arguments)
Creates a new
Expression object with the specified value
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
Expression(Object target,
String methodName,
Object[] arguments)
Creates a new
Expression object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
IndexedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
int index)
Constructs a new
IndexedPropertyChangeEvent object. |
IndexedPropertyDescriptor(Class<?> bean,
String base,
Method read,
Method write,
Method readIndexed,
Method writeIndexed)
Creates
PropertyDescriptor for the specified bean
with the specified name and methods to read/write the property value. |
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass)
This constructor constructs an IndexedPropertyDescriptor for a property
that follows the standard Java conventions by having getFoo and setFoo
accessor methods, for both indexed access and array access.
|
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName,
String indexedReadMethodName,
String indexedWriteMethodName)
This constructor takes the name of a simple property, and method
names for reading and writing the property, both indexed
and non-indexed.
|
IndexedPropertyDescriptor(String propertyName,
Method readMethod,
Method writeMethod,
Method indexedReadMethod,
Method indexedWriteMethod)
This constructor takes the name of a simple property, and Method
objects for reading and writing the property.
|
IntrospectionException(String mess)
Constructs an
IntrospectionException with a
detailed message. |
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
Constructs a new
PropertyChangeEvent. |
PropertyChangeListenerProxy(String propertyName,
PropertyChangeListener listener)
Constructor which binds the
PropertyChangeListener
to a specific property. |
PropertyDescriptor(Class<?> bean,
String base,
Method read,
Method write)
Creates
PropertyDescriptor for the specified bean
with the specified name and methods to read/write the property value. |
PropertyDescriptor(String propertyName,
Class<?> beanClass)
Constructs a PropertyDescriptor for a property that follows
the standard Java convention by having getFoo and setFoo
accessor methods.
|
PropertyDescriptor(String propertyName,
Class<?> beanClass,
String readMethodName,
String writeMethodName)
This constructor takes the name of a simple property, and method
names for reading and writing the property.
|
PropertyDescriptor(String propertyName,
Method readMethod,
Method writeMethod)
This constructor takes the name of a simple property, and Method
objects for reading and writing the property.
|
PropertyVetoException(String mess,
PropertyChangeEvent evt)
Constructs a
PropertyVetoException with a
detailed message. |
Statement(Object target,
String methodName,
Object[] arguments)
Creates a new
Statement object
for the specified target object to invoke the method
specified by the name and by the array of arguments. |
VetoableChangeListenerProxy(String propertyName,
VetoableChangeListener listener)
Constructor which binds the
VetoableChangeListener
to a specific property. |
XMLEncoder(OutputStream out,
String charset,
boolean declaration,
int indentation)
Creates a new XML encoder to write out JavaBeans
to the stream
out using the given charset
starting from the given indentation. |
| Modifier and Type | Method and Description |
|---|---|
void |
BeanContextChildSupport.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Add a PropertyChangeListener for a specific property.
|
void |
BeanContextChild.addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Adds a
PropertyChangeListener
to this BeanContextChild
in order to receive a PropertyChangeEvent
whenever the specified property has changed. |
void |
BeanContextChildSupport.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Add a VetoableChangeListener for a specific property.
|
void |
BeanContextChild.addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Adds a
VetoableChangeListener to
this BeanContextChild
to receive events whenever the specified property changes. |
void |
BeanContextChildSupport.firePropertyChange(String name,
Object oldValue,
Object newValue)
Report a bound property update to any registered listeners.
|
void |
BeanContextChildSupport.fireVetoableChange(String name,
Object oldValue,
Object newValue)
Report a vetoable property update to any registered listeners.
|
URL |
BeanContextSupport.getResource(String name,
BeanContextChild bcc) |
URL |
BeanContext.getResource(String name,
BeanContextChild bcc)
Analagous to
java.lang.ClassLoader.getResource(), this
method allows a BeanContext implementation to interpose
behavior between the child Component
and underlying ClassLoader. |
InputStream |
BeanContextSupport.getResourceAsStream(String name,
BeanContextChild bcc) |
InputStream |
BeanContext.getResourceAsStream(String name,
BeanContextChild bcc)
Analagous to
java.lang.ClassLoader.getResourceAsStream(),
this method allows a BeanContext implementation
to interpose behavior between the child Component
and underlying ClassLoader. |
Object |
BeanContextSupport.instantiateChild(String beanName)
The instantiateChild method is a convenience hook
in BeanContext to simplify
the task of instantiating a Bean, nested,
into a BeanContext.
|
Object |
BeanContext.instantiateChild(String beanName)
Instantiate the javaBean named as a
child of this
BeanContext. |
void |
BeanContextChildSupport.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Remove a PropertyChangeListener for a specific property.
|
void |
BeanContextChild.removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Removes a
PropertyChangeListener from this
BeanContextChild so that it no longer
receives PropertyChangeEvents when the
specified property is changed. |
void |
BeanContextChildSupport.removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Removes a
VetoableChangeListener. |
void |
BeanContextChild.removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Removes a
VetoableChangeListener from this
BeanContextChild so that it no longer receives
events when the specified property changes. |
| Modifier and Type | Field and Description |
|---|---|
private String |
SerializablePermission.actions |
private String |
FilePermission.actions
the actions string.
|
protected String |
StringBufferInputStream.buffer
Deprecated.
The string from which bytes are read.
|
String |
InvalidClassException.classname
Name of the invalid class.
|
private String |
ObjectStreamClass.ExceptionInfo.className |
private String |
FilePermission.cpath |
private String |
UnixFileSystem.javaHome |
private String |
PrintWriter.lineSeparator
Line separator string.
|
private String |
BufferedWriter.lineSeparator
Line separator string.
|
private String |
ObjectStreamClass.ExceptionInfo.message |
private String |
ObjectStreamField.name
field name
|
private String |
ObjectStreamClass.name
name of class represented by this descriptor
|
String |
ObjectStreamClass.MemberSignature.name |
private String |
RandomAccessFile.path |
private String |
FileOutputStream.path
The path of the referenced file (null if the stream is created with a file descriptor)
|
private String |
FileInputStream.path |
private String |
File.path
This abstract pathname's normalized pathname string.
|
static String |
File.pathSeparator
The system-dependent path-separator character, represented as a string
for convenience.
|
static String |
File.separator
The system-dependent default name-separator character, represented as a
string for convenience.
|
private String |
ObjectStreamField.signature
canonical JVM signature of field type
|
String |
ObjectStreamClass.MemberSignature.signature |
private String |
ObjectStreamClass.FieldReflectorKey.sigs |
private String |
StringReader.str |
String |
StreamTokenizer.sval
If the current token is a word token, this field contains a
string giving the characters of the word token.
|
private String |
ExpiringCache.Entry.val |
| Modifier and Type | Field and Description |
|---|---|
private static LinkedHashSet<String> |
DeleteOnExitHook.files |
private static HashMap<String,Class<?>> |
ObjectInputStream.primClasses
table mapping primitive type names to corresponding class objects
|
private List<String> |
ObjectOutputStream.DebugTraceInfoStack.stack |
| Modifier and Type | Method and Description |
|---|---|
String |
UnixFileSystem.canonicalize(String path) |
abstract String |
FileSystem.canonicalize(String path) |
private String |
UnixFileSystem.canonicalize0(String path) |
private static String |
Console.encoding() |
String |
UnixFileSystem.fromURIPath(String path) |
abstract String |
FileSystem.fromURIPath(String path)
Post-process the given URI path string if necessary.
|
(package private) String |
ExpiringCache.get(String key) |
String |
File.getAbsolutePath()
Returns the absolute pathname string of this abstract pathname.
|
String |
FilePermission.getActions()
Returns the "canonical string representation" of the actions.
|
private static String |
FilePermission.getActions(int mask)
Return the canonical string representation of the actions.
|
String |
File.getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
private static String |
ObjectStreamField.getClassSignature(Class<?> cl)
Returns JVM type signature for given class.
|
private static String |
ObjectStreamClass.getClassSignature(Class<?> cl)
Returns JVM type signature for given class.
|
String |
UnixFileSystem.getDefaultParent() |
abstract String |
FileSystem.getDefaultParent()
Return the parent pathname string to be used when the parent-directory
argument in one of the two-argument File constructors is the empty
pathname.
|
String |
OutputStreamWriter.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
InputStreamReader.getEncoding()
Returns the name of the character encoding being used by this stream.
|
String |
WriteAbortedException.getMessage()
Produce the message and include the message from the nested
exception, if there is one.
|
String |
InvalidClassException.getMessage()
Produce the message and include the classname, if present.
|
private static String |
ObjectStreamClass.getMethodSignature(Class<?>[] paramTypes,
Class<?> retType)
Returns JVM type signature for given list of parameters and return type.
|
String |
ObjectStreamField.getName()
Get the name of this field.
|
String |
ObjectStreamClass.getName()
Returns the name of the class described by this descriptor.
|
String |
File.getName()
Returns the name of the file or directory denoted by this abstract
pathname.
|
private static String |
ObjectStreamClass.getPackageName(Class<?> cl)
Returns package name of given class.
|
String |
File.getParent()
Returns the pathname string of this abstract pathname's parent, or
null if this pathname does not name a parent directory. |
String |
File.getPath()
Converts this abstract pathname into a pathname string.
|
(package private) String |
ObjectStreamField.getSignature()
Returns JVM type signature of field (similar to getTypeString, except
that signature strings are returned for primitive fields as well).
|
String |
ObjectStreamField.getTypeString()
Return the JVM type signature.
|
String[] |
File.list()
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname.
|
String[] |
UnixFileSystem.list(File f) |
abstract String[] |
FileSystem.list(File f)
List the elements of the directory denoted by the given abstract
pathname.
|
String[] |
File.list(FilenameFilter filter)
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname that satisfy the specified
filter.
|
String |
UnixFileSystem.normalize(String pathname) |
abstract String |
FileSystem.normalize(String path)
Convert the given pathname string to normal form.
|
private String |
UnixFileSystem.normalize(String pathname,
int len,
int off) |
(package private) static String |
UnixFileSystem.parentOrNull(String path) |
String |
RandomAccessFile.readLine()
Reads the next line of text from this file.
|
String |
ObjectInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
see DataInputStream for the details and alternatives.
|
String |
ObjectInputStream.BlockDataInputStream.readLine() |
String |
LineNumberReader.readLine()
Read a line of text.
|
String |
DataInputStream.readLine()
Deprecated.
This method does not properly convert bytes to characters.
As of JDK 1.1, the preferred way to read lines of text is via the
BufferedReader.readLine() method. Programs that use the
DataInputStream class to read lines can be converted to use
the BufferedReader class by replacing code of the form:
with:
|
String |
DataInput.readLine()
Reads the next line of text from the input stream.
|
String |
Console.readLine()
Reads a single line of text from the console.
|
String |
BufferedReader.readLine()
Reads a line of text.
|
(package private) String |
BufferedReader.readLine(boolean ignoreLF)
Reads a line of text.
|
String |
Console.readLine(String fmt,
Object... args)
Provides a formatted prompt, then reads a single line of text from the
console.
|
(package private) String |
ObjectInputStream.BlockDataInputStream.readLongUTF()
Reads in string written in "long" UTF format.
|
private String |
ObjectInputStream.readString(boolean unshared)
Reads in and returns new string.
|
(package private) String |
ObjectInputStream.readTypeString()
Reads string without allowing it to be replaced in stream.
|
String |
RandomAccessFile.readUTF()
Reads in a string from this file.
|
String |
ObjectInputStream.readUTF()
Reads a String in
modified UTF-8
format.
|
String |
ObjectInputStream.BlockDataInputStream.readUTF() |
String |
DataInputStream.readUTF()
See the general contract of the
readUTF
method of DataInput. |
String |
DataInput.readUTF()
Reads in a string that has been encoded using a
modified UTF-8
format.
|
static String |
DataInputStream.readUTF(DataInput in)
Reads from the
stream
in a representation
of a Unicode character string encoded in
modified UTF-8 format;
this string of characters is then returned as a String. |
private String |
ObjectInputStream.BlockDataInputStream.readUTFBody(long utflen)
Reads in the "body" (i.e., the UTF representation minus the 2-byte
or 8-byte length header) of a UTF encoding, which occupies the next
utflen bytes.
|
String |
UnixFileSystem.resolve(File f) |
abstract String |
FileSystem.resolve(File f)
Resolve the given abstract pathname into absolute form.
|
String |
UnixFileSystem.resolve(String parent,
String child) |
abstract String |
FileSystem.resolve(String parent,
String child)
Resolve the child pathname string against the parent.
|
private static String |
File.slashify(String path,
boolean isDirectory) |
String |
StringWriter.toString()
Return the buffer's current value as a string.
|
String |
StreamTokenizer.toString()
Returns the string representation of the current stream token and
the line number it occurs on.
|
String |
ObjectStreamField.toString()
Return a string that describes this field.
|
String |
ObjectStreamClass.toString()
Return a string describing this ObjectStreamClass.
|
String |
ObjectOutputStream.DebugTraceInfoStack.toString()
Returns a string representation of this object
|
String |
File.toString()
Returns the pathname string of this abstract pathname.
|
String |
CharArrayWriter.toString()
Converts input data to a string.
|
String |
ByteArrayOutputStream.toString()
Converts the buffer's contents into a string decoding bytes using the
platform's default character set.
|
String |
ByteArrayOutputStream.toString(int hibyte)
Deprecated.
This method does not properly convert bytes into characters.
As of JDK 1.1, the preferred way to do this is via the
toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding. |
String |
ByteArrayOutputStream.toString(String charsetName)
Converts the buffer's contents into a string by decoding the bytes using
the specified
charsetName. |
(package private) String |
ExpiringCache.Entry.val() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FilenameFilter.accept(File dir,
String name)
Tests if a specified file should be included in a file list.
|
(package private) static void |
DeleteOnExitHook.add(String file) |
String |
UnixFileSystem.canonicalize(String path) |
abstract String |
FileSystem.canonicalize(String path) |
private String |
UnixFileSystem.canonicalize0(String path) |
private static boolean |
ObjectStreamClass.classNamesEqual(String name1,
String name2)
Compares class names for equality, ignoring package names.
|
boolean |
UnixFileSystem.createFileExclusively(String path) |
abstract boolean |
FileSystem.createFileExclusively(String pathname)
Create a new empty file with the given pathname.
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Return true if the named field is defaulted and has no value in this
stream.
|
boolean |
ObjectInputStream.GetFieldImpl.defaulted(String name) |
private ExpiringCache.Entry |
ExpiringCache.entryFor(String key) |
PrintWriter |
PrintWriter.format(Locale l,
String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
PrintStream |
PrintStream.format(Locale l,
String format,
Object... args)
Writes a formatted string to this output stream using the specified
format string and arguments.
|
PrintWriter |
PrintWriter.format(String format,
Object... args)
Writes a formatted string to this writer using the specified format
string and arguments.
|
PrintStream |
PrintStream.format(String format,
Object... args)
Writes a formatted string to this output stream using the specified
format string and arguments.
|
Console |
Console.format(String fmt,
Object... args)
Writes a formatted string to this console's output stream using
the specified format string and arguments.
|
String |
UnixFileSystem.fromURIPath(String path) |
abstract String |
FileSystem.fromURIPath(String path)
Post-process the given URI path string if necessary.
|
(package private) static File |
File.TempDirectory.generateFile(String prefix,
String suffix,
File dir) |
(package private) String |
ExpiringCache.get(String key) |
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean val)
Get the value of the named boolean field from the persistent field.
|
boolean |
ObjectInputStream.GetFieldImpl.get(String name,
boolean val) |
abstract byte |
ObjectInputStream.GetField.get(String name,
byte val)
Get the value of the named byte field from the persistent field.
|
byte |
ObjectInputStream.GetFieldImpl.get(String name,
byte val) |
abstract char |
ObjectInputStream.GetField.get(String name,
char val)
Get the value of the named char field from the persistent field.
|
char |
ObjectInputStream.GetFieldImpl.get(String name,
char val) |
abstract double |
ObjectInputStream.GetField.get(String name,
double val)
Get the value of the named double field from the persistent field.
|
double |
ObjectInputStream.GetFieldImpl.get(String name,
double val) |
abstract float |
ObjectInputStream.GetField.get(String name,
float val)
Get the value of the named float field from the persistent field.
|
float |
ObjectInputStream.GetFieldImpl.get(String name,
float val) |
abstract int |
ObjectInputStream.GetField.get(String name,
int val)
Get the value of the named int field from the persistent field.
|
int |
ObjectInputStream.GetFieldImpl.get(String name,
int val) |
abstract long |
ObjectInputStream.GetField.get(String name,
long val)
Get the value of the named long field from the persistent field.
|
long |
ObjectInputStream.GetFieldImpl.get(String name,
long val) |
abstract Object |
ObjectInputStream.GetField.get(String name,
Object val)
Get the value of the named Object field from the persistent field.
|
Object |
ObjectInputStream.GetFieldImpl.get(String name,
Object val) |
abstract short |
ObjectInputStream.GetField.get(String name,
short val)
Get the value of the named short field from the persistent field.
|
short |
ObjectInputStream.GetFieldImpl.get(String name,
short val) |
private static boolean |
FileSystem.getBooleanProperty(String prop,
boolean defaultVal) |
ObjectStreamField |
ObjectStreamClass.getField(String name)
Get the field of this class by name.
|
(package private) ObjectStreamField |
ObjectStreamClass.getField(String name,
Class<?> type)
Looks up a serializable field of the represented class by name and type.
|
private int |
ObjectOutputStream.PutFieldImpl.getFieldOffset(String name,
Class type)
Returns offset of field with given name and type.
|
private int |
ObjectInputStream.GetFieldImpl.getFieldOffset(String name,
Class type)
Returns offset of field with given name and type.
|
private static Method |
ObjectStreamClass.getInheritableMethod(Class<?> cl,
String name,
Class<?>[] argTypes,
Class<?> returnType)
Returns non-static, non-abstract method with given signature provided it
is defined by or accessible (via inheritance) by the given class, or
null if no match found.
|
private static int |
FilePermission.getMask(String actions)
Converts an actions String to an actions mask.
|
private static Method |
ObjectStreamClass.getPrivateMethod(Class<?> cl,
String name,
Class<?>[] argTypes,
Class<?> returnType)
Returns non-static private method with given signature defined by given
class, or null if none found.
|
(package private) long |
ObjectOutputStream.BlockDataOutputStream.getUTFLength(String s)
Returns the length in bytes of the UTF encoding of the given string.
|
String |
UnixFileSystem.normalize(String pathname) |
abstract String |
FileSystem.normalize(String path)
Convert the given pathname string to normal form.
|
private String |
UnixFileSystem.normalize(String pathname,
int len,
int off) |
private void |
FileInputStream.open(String name)
Opens the specified file for reading.
|
private void |
FileOutputStream.open(String name,
boolean append)
Opens a file, with the specified name, for overwriting or appending.
|
private void |
RandomAccessFile.open(String name,
int mode)
Opens a file and returns the file descriptor.
|
(package private) static String |
UnixFileSystem.parentOrNull(String path) |
int |
UnixFileSystem.prefixLength(String pathname) |
abstract int |
FileSystem.prefixLength(String path)
Compute the length of this pathname string's prefix.
|
void |
PrintWriter.print(String s)
Prints a string.
|
void |
PrintStream.print(String s)
Prints a string.
|
PrintWriter |
PrintWriter.printf(Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
PrintStream |
PrintStream.printf(Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
PrintWriter |
PrintWriter.printf(String format,
Object... args)
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
PrintStream |
PrintStream.printf(String format,
Object... args)
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
Console |
Console.printf(String format,
Object... args)
A convenience method to write a formatted string to this console's
output stream using the specified format string and arguments.
|
void |
PrintWriter.println(String x)
Prints a String and then terminates the line.
|
void |
PrintStream.println(String x)
Prints a String and then terminate the line.
|
(package private) void |
ObjectOutputStream.DebugTraceInfoStack.push(String entry)
Pushes a String onto the top of enclosed list.
|
abstract void |
ObjectOutputStream.PutField.put(String name,
boolean val)
Put the value of the named boolean field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
boolean val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
byte val)
Put the value of the named byte field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
byte val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
char val)
Put the value of the named char field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
char val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
double val)
Put the value of the named double field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
double val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
float val)
Put the value of the named float field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
float val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
int val)
Put the value of the named int field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
int val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
long val)
Put the value of the named long field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
long val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
Object val)
Put the value of the named Object field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
Object val) |
abstract void |
ObjectOutputStream.PutField.put(String name,
short val)
Put the value of the named short field into the persistent field.
|
void |
ObjectOutputStream.PutFieldImpl.put(String name,
short val) |
(package private) void |
ExpiringCache.put(String key,
String val) |
String |
Console.readLine(String fmt,
Object... args)
Provides a formatted prompt, then reads a single line of text from the
console.
|
char[] |
Console.readPassword(String fmt,
Object... args)
Provides a formatted prompt, then reads a password or passphrase from
the console with echoing disabled.
|
private static <T> T |
PrintStream.requireNonNull(T obj,
String message)
requireNonNull is explicitly declared here so as not to create an extra
dependency on java.util.Objects.requireNonNull.
|
String |
UnixFileSystem.resolve(String parent,
String child) |
abstract String |
FileSystem.resolve(String parent,
String child)
Resolve the child pathname string against the parent.
|
protected Class<?> |
ObjectInputStream.resolveProxyClass(String[] interfaces)
Returns a proxy class that implements the interfaces named in a proxy
class descriptor; subclasses may implement this method to read custom
data from the stream along with the descriptors for dynamic proxy
classes, allowing them to use an alternate loading mechanism for the
interfaces and the proxy class.
|
(package private) void |
ExpiringCache.Entry.setVal(String val) |
private static String |
File.slashify(String path,
boolean isDirectory) |
private static Charset |
PrintWriter.toCharset(String csn)
Returns a charset object for the given charset name.
|
private static Charset |
PrintStream.toCharset(String csn)
Returns a charset object for the given charset name.
|
String |
ByteArrayOutputStream.toString(String charsetName)
Converts the buffer's contents into a string by decoding the bytes using
the specified
charsetName. |
static File.PathStatus |
File.PathStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
void |
Writer.write(String str)
Writes a string.
|
void |
StringWriter.write(String str)
Write a string.
|
void |
PrintWriter.write(String s)
Writes a string.
|
private void |
PrintStream.write(String s) |
void |
Writer.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
StringWriter.write(String str,
int off,
int len)
Write a portion of a string.
|
void |
PrintWriter.write(String s,
int off,
int len)
Writes a portion of a string.
|
void |
OutputStreamWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
FilterWriter.write(String str,
int off,
int len)
Writes a portion of a string.
|
void |
CharArrayWriter.write(String str,
int off,
int len)
Write a portion of a string to the buffer.
|
void |
BufferedWriter.write(String s,
int off,
int len)
Writes a portion of a String.
|
void |
RandomAccessFile.writeBytes(String s)
Writes the string to the file as a sequence of bytes.
|
void |
ObjectOutputStream.writeBytes(String str)
Writes a String as a sequence of bytes.
|
void |
ObjectOutputStream.BlockDataOutputStream.writeBytes(String s) |
void |
DataOutputStream.writeBytes(String s)
Writes out the string to the underlying output stream as a
sequence of bytes.
|
void |
DataOutput.writeBytes(String s)
Writes a string to the output stream.
|
void |
RandomAccessFile.writeChars(String s)
Writes a string to the file as a sequence of characters.
|
void |
ObjectOutputStream.writeChars(String str)
Writes a String as a sequence of chars.
|
void |
ObjectOutputStream.BlockDataOutputStream.writeChars(String s) |
void |
DataOutputStream.writeChars(String s)
Writes a string to the underlying output stream as a sequence of
characters.
|
void |
DataOutput.writeChars(String s)
Writes every character in the string
s,
to the output stream, in order,
two bytes per character. |
(package private) void |
ObjectOutputStream.BlockDataOutputStream.writeLongUTF(String s)
Writes given string in "long" UTF format.
|
(package private) void |
ObjectOutputStream.BlockDataOutputStream.writeLongUTF(String s,
long utflen)
Writes given string in "long" UTF format, where the UTF encoding
length of the string is already known.
|
private void |
ObjectOutputStream.writeString(String str,
boolean unshared)
Writes given string to stream, using standard or long UTF format
depending on string length.
|
(package private) void |
ObjectOutputStream.writeTypeString(String str)
Writes string without allowing it to be replaced in stream.
|
void |
RandomAccessFile.writeUTF(String str)
Writes a string to the file using
modified UTF-8
encoding in a machine-independent manner.
|
void |
ObjectOutputStream.writeUTF(String str)
Primitive data write of this String in
modified UTF-8
format.
|
void |
ObjectOutputStream.BlockDataOutputStream.writeUTF(String s) |
void |
DataOutputStream.writeUTF(String str)
Writes a string to the underlying output stream using
modified UTF-8
encoding in a machine-independent manner.
|
void |
DataOutput.writeUTF(String s)
Writes two bytes of length information
to the output stream, followed
by the
modified UTF-8
representation
of every character in the string
s. |
(package private) static int |
DataOutputStream.writeUTF(String str,
DataOutput out)
Writes a string to the specified DataOutput using
modified UTF-8
encoding in a machine-independent manner.
|
(package private) void |
ObjectOutputStream.BlockDataOutputStream.writeUTF(String s,
long utflen)
Writes the given string in UTF format.
|
private void |
ObjectOutputStream.BlockDataOutputStream.writeUTFBody(String s)
Writes the "body" (i.e., the UTF representation minus the 2-byte or
8-byte length header) of the UTF encoding for the given string.
|
| Constructor and Description |
|---|
CharConversionException(String s)
This provides a detailed message.
|
EOFException(String s)
Constructs an
EOFException with the specified detail
message. |
ExpiringCache.Entry(long timestamp,
String val) |
File(File parent,
String child)
Creates a new
File instance from a parent abstract
pathname and a child pathname string. |
File(String pathname)
Creates a new
File instance by converting the given
pathname string into an abstract pathname. |
File(String child,
File parent)
Internal constructor for already-normalized pathname strings.
|
File(String pathname,
int prefixLength)
Internal constructor for already-normalized pathname strings.
|
File(String parent,
String child)
Creates a new
File instance from a parent pathname string
and a child pathname string. |
FileInputStream(String name)
Creates a
FileInputStream by
opening a connection to an actual file,
the file named by the path name name
in the file system. |
FileNotFoundException(String s)
Constructs a
FileNotFoundException with the
specified detail message. |
FileNotFoundException(String path,
String reason)
Constructs a
FileNotFoundException with a detail message
consisting of the given pathname string followed by the given reason
string. |
FileOutputStream(String name)
Creates a file output stream to write to the file with the
specified name.
|
FileOutputStream(String name,
boolean append)
Creates a file output stream to write to the file with the specified
name.
|
FilePermission(String path,
int mask)
Creates a new FilePermission object using an action mask.
|
FilePermission(String path,
String actions)
Creates a new FilePermission object with the specified actions.
|
FileReader(String fileName)
Creates a new FileReader, given the name of the
file to read from.
|
FileWriter(String fileName)
Constructs a FileWriter object given a file name.
|
FileWriter(String fileName,
boolean append)
Constructs a FileWriter object given a file name with a boolean
indicating whether or not to append the data written.
|
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
InterruptedIOException(String s)
Constructs an
InterruptedIOException with the
specified detail message. |
InvalidClassException(String reason)
Report an InvalidClassException for the reason specified.
|
InvalidClassException(String cname,
String reason)
Constructs an InvalidClassException object.
|
InvalidObjectException(String reason)
Constructs an
InvalidObjectException. |
IOException(String message)
Constructs an
IOException with the specified detail message. |
IOException(String message,
Throwable cause)
Constructs an
IOException with the specified detail message
and cause. |
NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given.
|
NotSerializableException(String classname)
Constructs a NotSerializableException object with message string.
|
ObjectStreamClass.ExceptionInfo(String cn,
String msg) |
ObjectStreamException(String classname)
Create an ObjectStreamException with the specified argument.
|
ObjectStreamField(String name,
Class<?> type)
Create a Serializable field with the specified type.
|
ObjectStreamField(String name,
Class<?> type,
boolean unshared)
Creates an ObjectStreamField representing a serializable field with the
given name and type.
|
ObjectStreamField(String name,
String signature,
boolean unshared)
Creates an ObjectStreamField representing a field with the given name,
signature and unshared setting.
|
OutputStreamWriter(OutputStream out,
String charsetName)
Creates an OutputStreamWriter that uses the named charset.
|
PrintStream(File file,
String csn)
Creates a new print stream, without automatic line flushing, with the
specified file and charset.
|
PrintStream(OutputStream out,
boolean autoFlush,
String encoding)
Creates a new print stream.
|
PrintStream(String fileName)
Creates a new print stream, without automatic line flushing, with the
specified file name.
|
PrintStream(String fileName,
String csn)
Creates a new print stream, without automatic line flushing, with the
specified file name and charset.
|
PrintWriter(File file,
String csn)
Creates a new PrintWriter, without automatic line flushing, with the
specified file and charset.
|
PrintWriter(String fileName)
Creates a new PrintWriter, without automatic line flushing, with the
specified file name.
|
PrintWriter(String fileName,
String csn)
Creates a new PrintWriter, without automatic line flushing, with the
specified file name and charset.
|
RandomAccessFile(File file,
String mode)
Creates a random access file stream to read from, and optionally to
write to, the file specified by the
File argument. |
RandomAccessFile(String name,
String mode)
Creates a random access file stream to read from, and optionally
to write to, a file with the specified name.
|
SerializablePermission(String name)
Creates a new SerializablePermission with the specified name.
|
SerializablePermission(String name,
String actions)
Creates a new SerializablePermission object with the specified name.
|
StreamCorruptedException(String reason)
Create a StreamCorruptedException and list a reason why thrown.
|
StringBufferInputStream(String s)
Deprecated.
Creates a string input stream to read data from the specified string.
|
StringReader(String s)
Creates a new string reader.
|
SyncFailedException(String desc)
Constructs an SyncFailedException with a detail message.
|
UnsupportedEncodingException(String s)
Constructs an UnsupportedEncodingException with a detail message.
|
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the
specified detail message. |
WriteAbortedException(String s,
Exception ex)
Constructs a WriteAbortedException with a string describing
the exception and the exception causing the abort.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
CharacterDataLatin1.A_DATA |
(package private) static String |
CharacterData0E.A_DATA |
(package private) static String |
CharacterData02.A_DATA |
(package private) static String |
CharacterData01.A_DATA |
(package private) static String |
CharacterData00.A_DATA |
private static String |
Throwable.CAUSE_CAPTION
Caption for labeling causative exception stack traces
|
(package private) String[] |
AssertionStatusDirectives.classes
The classes for which assertions are to be enabled or disabled.
|
private String |
EnumConstantNotPresentException.constantName
The name of the missing enum constant.
|
private String |
StackTraceElement.declaringClass |
private String |
Class.EnclosingMethodInfo.descriptor |
private String |
Throwable.detailMessage
Specific details about the Throwable.
|
private String |
StackTraceElement.fileName |
private String |
Package.implTitle |
private String |
Package.implVendor |
private String |
Package.implVersion |
(package private) String |
ConditionalSpecialCasing.Entry.lang |
private static String |
System.lineSeparator |
private String |
StackTraceElement.methodName |
(package private) String |
ThreadGroup.name |
private String |
Enum.name
The name of this enum constant, as declared in the enum declaration.
|
(package private) String |
ClassLoader.NativeLibrary.name |
private String |
Class.name |
private String |
Class.EnclosingMethodInfo.name |
private String |
Character.Subset.name |
private static String |
Throwable.NULL_CAUSE_MESSAGE
Message for trying to suppress a null exception.
|
private static String[] |
SecurityManager.packageAccess |
private static String[] |
SecurityManager.packageDefinition |
(package private) String[] |
AssertionStatusDirectives.packages
The package-trees for which assertions are to be enabled or disabled.
|
private String |
Package.pkgName |
private String |
StringCoding.StringDecoder.requestedCharsetName |
private String |
StringCoding.StringEncoder.requestedCharsetName |
private static String |
Throwable.SELF_SUPPRESSION_MESSAGE
Message for trying to suppress oneself.
|
private String |
Package.specTitle |
private String |
Package.specVendor |
private String |
Package.specVersion |
protected String |
ProcessEnvironment.ExternalData.str |
private static String |
Throwable.SUPPRESSED_CAPTION
Caption for labeling suppressed exception stack traces
|
private static String[] |
ClassLoader.sys_paths |
private String |
TypeNotPresentException.typeName |
private static String[] |
ClassLoader.usr_paths |
| Modifier and Type | Field and Description |
|---|---|
private static HashMap<String,Character.UnicodeScript> |
Character.UnicodeScript.aliases |
static Comparator<String> |
String.CASE_INSENSITIVE_ORDER
A Comparator that orders
String objects as by
compareToIgnoreCase. |
(package private) Map<String,Boolean> |
ClassLoader.classAssertionStatus |
private List<String> |
ProcessBuilder.command |
private Map<String,T> |
Class.enumConstantDirectory |
private Map<String,String> |
ProcessBuilder.environment |
private Map<String,String> |
ProcessBuilder.environment |
private static Vector<String> |
ClassLoader.loadedLibraryNames |
private static Map<String,Manifest> |
Package.mans |
private static Map<String,Character.UnicodeBlock> |
Character.UnicodeBlock.map |
private Map<String,Certificate[]> |
ClassLoader.package2certs |
private Map<String,Boolean> |
ClassLoader.packageAssertionStatus |
private HashMap<String,Package> |
ClassLoader.packages |
private ConcurrentHashMap<String,Object> |
ClassLoader.parallelLockMap |
private static Map<String,Package> |
Package.pkgs |
private static Map<String,String> |
ProcessEnvironment.theUnmodifiableEnvironment |
private static Map<String,String> |
ProcessEnvironment.theUnmodifiableEnvironment |
private static Map<String,URL> |
Package.urls |
| Modifier and Type | Method and Description |
|---|---|
private static String |
Class.argumentTypesToString(Class<?>[] argTypes) |
private String |
Class.cannotCastMsg(Object obj) |
(package private) String |
StringCoding.StringDecoder.charsetName() |
(package private) String |
StringCoding.StringEncoder.charsetName() |
static String |
System.clearProperty(String key)
Removes the system property indicated by the specified key.
|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
String |
EnumConstantNotPresentException.constantName()
Returns the name of the missing enum constant.
|
static String |
String.copyValueOf(char[] data)
Returns a String that represents the character sequence in the
array specified.
|
static String |
String.copyValueOf(char[] data,
int offset,
int count)
Returns a String that represents the character sequence in the
array specified.
|
private String |
ClassLoader.defineClassSourceLocation(ProtectionDomain pd) |
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library.
|
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string,
and arguments.
|
static String |
String.format(String format,
Object... args)
Returns a formatted string using the specified format string and
arguments.
|
static String |
CharacterName.get(int cp) |
String |
ProcessEnvironment.StringEnvironment.get(Object key) |
String |
Class.getCanonicalName()
Returns the canonical name of the underlying class as
defined by the Java Language Specification.
|
String |
StackTraceElement.getClassName()
Returns the fully qualified name of the class containing the
execution point represented by this stack trace element.
|
(package private) String |
Class.EnclosingMethodInfo.getDescriptor() |
static String |
System.getenv(String name)
Gets the value of the specified environment variable.
|
(package private) static String |
ProcessEnvironment.getenv(String name) |
String |
StackTraceElement.getFileName()
Returns the name of the source file containing the execution point
represented by this stack trace element.
|
private String |
Class.getGenericSignature() |
String |
Package.getImplementationTitle()
Return the title of this package.
|
String |
Package.getImplementationVendor()
Returns the name of the organization,
vendor or company that provided this implementation.
|
String |
Package.getImplementationVersion()
Return the version of this implementation.
|
String |
ProcessEnvironment.StringEntry.getKey() |
(package private) String |
ConditionalSpecialCasing.Entry.getLanguage() |
String |
Throwable.getLocalizedMessage()
Creates a localized description of this throwable.
|
String |
Throwable.getMessage()
Returns the detail message string of this throwable.
|
String |
StackTraceElement.getMethodName()
Returns the name of the method containing the execution point
represented by this stack trace element.
|
String |
ThreadGroup.getName()
Returns the name of this thread group.
|
String |
Thread.getName()
Returns this thread's name.
|
String |
Package.getName()
Return the name of this package.
|
String |
Class.getName()
Returns the name of the entity (class, interface, array class,
primitive type, or void) represented by this
Class object,
as a String. |
(package private) String |
Class.EnclosingMethodInfo.getName() |
static String |
Character.getName(int codePoint)
Returns the Unicode name of the specified character
codePoint, or null if the code point is
unassigned. |
private String |
Class.getName0() |
private static String[] |
SecurityManager.getPackages(String p) |
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
private String |
Class.getSimpleBinaryName()
Returns the "simple binary name" of the underlying class, i.e.,
the binary name without the leading enclosing class name.
|
String |
Class.getSimpleName()
Returns the simple name of the underlying class as given in the
source code.
|
String |
Package.getSpecificationTitle()
Return the title of the specification that this package implements.
|
String |
Package.getSpecificationVendor()
Return the name of the organization, vendor,
or company that owns and maintains the specification
of the classes that implement this package.
|
String |
Package.getSpecificationVersion()
Returns the version number of the specification
that this package implements.
|
private static String |
Package.getSystemPackage0(String name) |
private static String[] |
Package.getSystemPackages0() |
String |
ProcessEnvironment.StringEntry.getValue() |
private static String[] |
ClassLoader.initializePath(String propname) |
String |
String.intern()
Returns a canonical representation for the string object.
|
static String |
System.lineSeparator()
Returns the system-dependent line separator string.
|
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing
a native library.
|
String |
Enum.name()
Returns the name of this enum constant, exactly as declared in its
enum declaration.
|
String |
ProcessEnvironment.StringEnvironment.put(String key,
String value) |
String |
ProcessEnvironment.StringEnvironment.remove(Object key) |
String |
String.replace(char oldChar,
char newChar)
Returns a new string resulting from replacing all occurrences of
oldChar in this string with newChar. |
String |
String.replace(CharSequence target,
CharSequence replacement)
Replaces each substring of this string that matches the literal target
sequence with the specified literal replacement sequence.
|
String |
String.replaceAll(String regex,
String replacement)
Replaces each substring of this string that matches the given regular expression with the
given replacement.
|
String |
String.replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given regular expression with the
given replacement.
|
(package private) String |
StringCoding.StringDecoder.requestedCharsetName() |
(package private) String |
StringCoding.StringEncoder.requestedCharsetName() |
private String |
Class.resolveName(String name)
Add a package name prefix if the name is not absolute Remove leading "/"
if name is absolute
|
static String |
System.setProperty(String key,
String value)
Sets the system property indicated by the specified key.
|
String |
ProcessEnvironment.StringEntry.setValue(String newValue) |
String[] |
String.split(String regex)
Splits this string around matches of the given regular expression.
|
String[] |
String.split(String regex,
int limit)
Splits this string around matches of the given
regular expression.
|
String |
StringBuffer.substring(int start) |
String |
String.substring(int beginIndex)
Returns a new string that is a substring of this string.
|
String |
AbstractStringBuilder.substring(int start)
Returns a new
String that contains a subsequence of
characters currently contained in this character sequence. |
String |
StringBuffer.substring(int start,
int end) |
String |
String.substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string.
|
String |
AbstractStringBuilder.substring(int start,
int end)
Returns a new
String that contains a subsequence of
characters currently contained in this sequence. |
static String |
Integer.toBinaryString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 2.
|
static String |
Long.toBinaryString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 2. |
static String |
Double.toHexString(double d)
Returns a hexadecimal string representation of the
double argument. |
static String |
Float.toHexString(float f)
Returns a hexadecimal string representation of the
float argument. |
static String |
Integer.toHexString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 16.
|
static String |
Long.toHexString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 16. |
String |
String.toLowerCase()
Converts all of the characters in this
String to lower
case using the rules of the default locale. |
String |
String.toLowerCase(Locale locale)
Converts all of the characters in this
String to lower
case using the rules of the given Locale. |
static String |
Integer.toOctalString(int i)
Returns a string representation of the integer argument as an
unsigned integer in base 8.
|
static String |
Long.toOctalString(long i)
Returns a string representation of the
long
argument as an unsigned integer in base 8. |
String |
Throwable.toString()
Returns a short description of this throwable.
|
String |
ThreadGroup.toString()
Returns a string representation of this Thread group.
|
String |
Thread.toString()
Returns a string representation of this thread, including the
thread's name, priority, and thread group.
|
String |
StringBuilder.toString() |
String |
StringBuffer.toString() |
String |
String.toString()
This object (which is already a string!) is itself returned.
|
String |
StackTraceElement.toString()
Returns a string representation of this stack trace element.
|
String |
Short.toString()
Returns a
String object representing this
Short's value. |
String |
ProcessEnvironment.ExternalData.toString() |
String |
ProcessEnvironment.StringEntry.toString() |
String |
Package.toString()
Returns the string representation of this Package.
|
String |
Object.toString()
Returns a string representation of the object.
|
String |
Long.toString()
Returns a
String object representing this
Long's value. |
String |
Integer.toString()
Returns a
String object representing this
Integer's value. |
String |
Float.toString()
Returns a string representation of this
Float object. |
String |
Enum.toString()
Returns the name of this enum constant, as contained in the
declaration.
|
String |
Double.toString()
Returns a string representation of this
Double object. |
String |
Class.toString()
Converts the object to a string.
|
String |
Character.toString()
Returns a
String object representing this
Character's value. |
String |
Character.Subset.toString()
Returns the name of this subset.
|
String |
CharSequence.toString()
Returns a string containing the characters in this sequence in the same
order as this sequence.
|
String |
Byte.toString()
Returns a
String object representing this
Byte's value. |
String |
Boolean.toString()
Returns a
String object representing this Boolean's
value. |
abstract String |
AbstractStringBuilder.toString()
Returns a string representing the data in this sequence.
|
static String |
Boolean.toString(boolean b)
Returns a
String object representing the specified
boolean. |
static String |
Byte.toString(byte b)
Returns a new
String object representing the
specified byte. |
static String |
Character.toString(char c)
Returns a
String object representing the
specified char. |
static String |
Double.toString(double d)
Returns a string representation of the
double
argument. |
static String |
Float.toString(float f)
Returns a string representation of the
float
argument. |
static String |
Integer.toString(int i)
Returns a
String object representing the
specified integer. |
static String |
Integer.toString(int i,
int radix)
Returns a string representation of the first argument in the
radix specified by the second argument.
|
static String |
Long.toString(long i)
Returns a
String object representing the specified
long. |
static String |
Long.toString(long i,
int radix)
Returns a string representation of the first argument in the
radix specified by the second argument.
|
private static String |
ProcessEnvironment.StringEnvironment.toString(ProcessEnvironment.Value v) |
static String |
Short.toString(short s)
Returns a new
String object representing the
specified short. |
private static String |
Integer.toUnsignedString(int i,
int shift)
Convert the integer to an unsigned number.
|
private static String |
Long.toUnsignedString(long i,
int shift)
Convert the integer to an unsigned number.
|
String |
String.toUpperCase()
Converts all of the characters in this
String to upper
case using the rules of the default locale. |
String |
String.toUpperCase(Locale locale)
Converts all of the characters in this
String to upper
case using the rules of the given Locale. |
String |
String.trim()
Returns a copy of the string, with leading and trailing whitespace
omitted.
|
String |
TypeNotPresentException.typeName()
Returns the fully qualified name of the unavailable type.
|
static String |
String.valueOf(boolean b)
Returns the string representation of the
boolean argument. |
static String |
String.valueOf(char c)
Returns the string representation of the
char
argument. |
static String |
String.valueOf(char[] data)
Returns the string representation of the
char array
argument. |
static String |
String.valueOf(char[] data,
int offset,
int count)
Returns the string representation of a specific subarray of the
char array argument. |
static String |
String.valueOf(double d)
Returns the string representation of the
double argument. |
static String |
String.valueOf(float f)
Returns the string representation of the
float argument. |
static String |
String.valueOf(int i)
Returns the string representation of the
int argument. |
static String |
String.valueOf(long l)
Returns the string representation of the
long argument. |
static String |
String.valueOf(Object obj)
Returns the string representation of the
Object argument. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
ProcessBuilder.command()
Returns this process builder's operating system program and
arguments.
|
(package private) static Map<String,String> |
ProcessEnvironment.emptyEnvironment(int capacity) |
(package private) static Map<String,String> |
ProcessEnvironment.emptyEnvironment(int capacity) |
Set<Map.Entry<String,String>> |
ProcessEnvironment.StringEnvironment.entrySet() |
Set<Map.Entry<String,String>> |
ProcessEnvironment.StringEnvironment.entrySet() |
(package private) Map<String,T> |
Class.enumConstantDirectory()
Returns a map from simple name to enum constant.
|
(package private) static Map<String,String> |
ProcessEnvironment.environment() |
(package private) static Map<String,String> |
ProcessEnvironment.environment() |
Map<String,String> |
ProcessBuilder.environment()
Returns a string map view of this process builder's environment.
|
Map<String,String> |
ProcessBuilder.environment()
Returns a string map view of this process builder's environment.
|
static Map<String,String> |
System.getenv()
Returns an unmodifiable string map view of the current system environment.
|
static Map<String,String> |
System.getenv()
Returns an unmodifiable string map view of the current system environment.
|
(package private) static Map<String,String> |
ProcessEnvironment.getenv() |
(package private) static Map<String,String> |
ProcessEnvironment.getenv() |
Iterator<Map.Entry<String,String>> |
ProcessEnvironment.StringEntrySet.iterator() |
Iterator<Map.Entry<String,String>> |
ProcessEnvironment.StringEntrySet.iterator() |
Iterator<String> |
ProcessEnvironment.StringValues.iterator() |
Iterator<String> |
ProcessEnvironment.StringKeySet.iterator() |
Set<String> |
ProcessEnvironment.StringEnvironment.keySet() |
Collection<String> |
ProcessEnvironment.StringEnvironment.values() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
StringBuilder.append(String str) |
StringBuffer |
StringBuffer.append(String str) |
AbstractStringBuilder |
AbstractStringBuilder.append(String str)
Appends the specified string to this character sequence.
|
void |
SecurityManager.checkAccept(String host,
int port)
Throws a
SecurityException if the
calling thread is not permitted to accept a socket connection from
the specified host and port number. |
private void |
ClassLoader.checkCerts(String name,
CodeSource cs) |
void |
SecurityManager.checkConnect(String host,
int port)
Throws a
SecurityException if the
calling thread is not allowed to open a socket connection to the
specified host and port number. |
void |
SecurityManager.checkConnect(String host,
int port,
Object context)
Throws a
SecurityException if the
specified security context is not allowed to open a socket
connection to the specified host and port number. |
void |
SecurityManager.checkDelete(String file)
Throws a
SecurityException if the
calling thread is not allowed to delete the specified file. |
void |
SecurityManager.checkExec(String cmd)
Throws a
SecurityException if the
calling thread is not allowed to create a subprocess. |
private static void |
System.checkKey(String key) |
void |
SecurityManager.checkLink(String lib)
Throws a
SecurityException if the
calling thread is not allowed to dynamic link the library code
specified by the string argument file. |
private boolean |
ClassLoader.checkName(String name) |
void |
SecurityManager.checkPackageAccess(String pkg)
Throws a
SecurityException if the
calling thread is not allowed to access the package specified by
the argument. |
void |
SecurityManager.checkPackageDefinition(String pkg)
Throws a
SecurityException if the
calling thread is not allowed to define classes in the package
specified by the argument. |
void |
SecurityManager.checkPropertyAccess(String key)
Throws a
SecurityException if the
calling thread is not allowed to access the system property with
the specified key name. |
void |
SecurityManager.checkRead(String file)
Throws a
SecurityException if the
calling thread is not allowed to read the file specified by the
string argument. |
void |
SecurityManager.checkRead(String file,
Object context)
Throws a
SecurityException if the
specified security context is not allowed to read the file
specified by the string argument. |
void |
SecurityManager.checkSecurityAccess(String target)
Determines whether the permission with the specified permission target
name should be granted or denied.
|
void |
SecurityManager.checkWrite(String file)
Throws a
SecurityException if the
calling thread is not allowed to write to the file specified by
the string argument. |
protected int |
SecurityManager.classDepth(String name)
Deprecated.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. |
static String |
System.clearProperty(String key)
Removes the system property indicated by the specified key.
|
ProcessBuilder |
ProcessBuilder.command(String... command)
Sets this process builder's operating system program and
arguments.
|
int |
String.CaseInsensitiveComparator.compare(String s1,
String s2) |
int |
String.compareTo(String anotherString)
Compares two strings lexicographically.
|
int |
String.compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case
differences.
|
static boolean |
Compiler.compileClasses(String string)
Compiles all classes whose name matches the specified string.
|
String |
String.concat(String str)
Concatenates the specified string to the end of this string.
|
static Short |
Short.decode(String nm)
Decodes a
String into a Short. |
static Long |
Long.decode(String nm)
Decodes a
String into a Long. |
static Integer |
Integer.decode(String nm)
Decodes a
String into an Integer. |
static Byte |
Byte.decode(String nm)
Decodes a
String into a Byte. |
(package private) static char[] |
StringCoding.decode(String charsetName,
byte[] ba,
int off,
int len) |
protected Class<?> |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len)
Converts an array of bytes into an instance of class Class.
|
protected Class<?> |
ClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
ProtectionDomain protectionDomain)
Converts an array of bytes into an instance of class Class,
with an optional ProtectionDomain.
|
protected Class<?> |
ClassLoader.defineClass(String name,
ByteBuffer b,
ProtectionDomain protectionDomain)
Converts a
ByteBuffer
into an instance of class Class,
with an optional ProtectionDomain. |
private Class |
ClassLoader.defineClass0(String name,
byte[] b,
int off,
int len,
ProtectionDomain pd) |
private Class |
ClassLoader.defineClass1(String name,
byte[] b,
int off,
int len,
ProtectionDomain pd,
String source) |
private Class |
ClassLoader.defineClass2(String name,
ByteBuffer b,
int off,
int len,
ProtectionDomain pd,
String source) |
protected Package |
ClassLoader.definePackage(String name,
String specTitle,
String specVersion,
String specVendor,
String implTitle,
String implVersion,
String implVendor,
URL sealBase)
Defines a package by name in this ClassLoader.
|
private static Package |
Package.defineSystemPackage(String iname,
String fn) |
private Class |
ClassLoader.defineTransformedClass(String name,
byte[] b,
int off,
int len,
ProtectionDomain pd,
ClassFormatError cfe,
String source) |
(package private) boolean |
ClassLoader.desiredAssertionStatus(String className)
Returns the assertion status that would be assigned to the specified
class if it were to be initialized at the time this method is invoked.
|
(package private) static byte[] |
StringCoding.encode(String charsetName,
char[] ca,
int off,
int len) |
boolean |
String.endsWith(String suffix)
Tests if this string ends with the specified suffix.
|
(package private) ProcessBuilder |
ProcessBuilder.environment(String[] envp) |
boolean |
String.equalsIgnoreCase(String anotherString)
Compares this
String to another String, ignoring case
considerations. |
Process |
Runtime.exec(String command)
Executes the specified string command in a separate process.
|
Process |
Runtime.exec(String[] cmdarray)
Executes the specified command and arguments in a separate process.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp)
Executes the specified command and arguments in a separate process
with the specified environment.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp)
Executes the specified command and arguments in a separate process
with the specified environment.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File dir)
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File dir)
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
Process |
Runtime.exec(String command,
String[] envp)
Executes the specified string command in a separate process with the
specified environment.
|
Process |
Runtime.exec(String command,
String[] envp)
Executes the specified string command in a separate process with the
specified environment.
|
Process |
Runtime.exec(String command,
String[] envp,
File dir)
Executes the specified string command in a separate process with the
specified environment and working directory.
|
Process |
Runtime.exec(String command,
String[] envp,
File dir)
Executes the specified string command in a separate process with the
specified environment and working directory.
|
(package private) long |
ClassLoader.NativeLibrary.find(String name) |
private Class |
ClassLoader.findBootstrapClass(String name) |
private Class |
ClassLoader.findBootstrapClassOrNull(String name)
Returns a class loaded by the bootstrap class loader;
or return null if not found.
|
protected Class<?> |
ClassLoader.findClass(String name)
Finds the class with the specified binary name.
|
protected String |
ClassLoader.findLibrary(String libname)
Returns the absolute path name of a native library.
|
protected Class<?> |
ClassLoader.findLoadedClass(String name)
Returns the class with the given binary name if this
loader has been recorded by the Java virtual machine as an initiating
loader of a class with that binary name.
|
private Class |
ClassLoader.findLoadedClass0(String name) |
(package private) static long |
ClassLoader.findNative(ClassLoader loader,
String name) |
protected URL |
ClassLoader.findResource(String name)
Finds the resource with the given name.
|
protected Enumeration<URL> |
ClassLoader.findResources(String name)
Returns an enumeration of
URL objects
representing all the resources with the given name. |
protected Class<?> |
ClassLoader.findSystemClass(String name)
Finds a class with the specified binary name,
loading it if necessary.
|
(package private) static NumberFormatException |
NumberFormatException.forInputString(String s)
Factory method for making a
NumberFormatException
given the specified input which caused the error. |
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string,
and arguments.
|
static String |
String.format(String format,
Object... args)
Returns a formatted string using the specified format string and
arguments.
|
static Class<?> |
Class.forName(String className)
Returns the
Class object associated with the class or
interface with the given string name. |
static Character.UnicodeBlock |
Character.UnicodeBlock.forName(String blockName)
Returns the UnicodeBlock with the given name.
|
static Character.UnicodeScript |
Character.UnicodeScript.forName(String scriptName)
Returns the UnicodeScript constant with the given Unicode script
name or the script name alias.
|
static Class<?> |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the
Class object associated with the class or
interface with the given string name, using the given class loader. |
private static Class<?> |
Class.forName0(String name,
boolean initialize,
ClassLoader loader,
Class<?> caller)
Called after security check for system loader access checks have been made.
|
static boolean |
Boolean.getBoolean(String name)
Returns
true if and only if the system property
named by the argument exists and is equal to the string
"true". |
private static URL |
ClassLoader.getBootstrapResource(String name)
Find resources from the VM's built-in classloader.
|
private static Enumeration<URL> |
ClassLoader.getBootstrapResources(String name)
Find resources from the VM's built-in classloader.
|
byte[] |
String.getBytes(String charsetName)
Encodes this
String into a sequence of bytes using the named
charset, storing the result into a new byte array. |
protected Object |
ClassLoader.getClassLoadingLock(String className)
Returns the lock object for class loading operations.
|
Field |
Class.getDeclaredField(String name)
Returns a
Field object that reflects the specified declared
field of the class or interface represented by this Class
object. |
Method |
Class.getDeclaredMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |
static String |
System.getenv(String name)
Gets the value of the specified environment variable.
|
(package private) static String |
ProcessEnvironment.getenv(String name) |
Field |
Class.getField(String name)
Returns a
Field object that reflects the specified public
member field of the class or interface represented by this
Class object. |
private Field |
Class.getField0(String name) |
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the
specified name.
|
static Integer |
Integer.getInteger(String nm,
int val)
Determines the integer value of the system property with the
specified name.
|
static Integer |
Integer.getInteger(String nm,
Integer val)
Returns the integer value of the system property with the
specified name.
|
static Long |
Long.getLong(String nm)
Determines the
long value of the system property
with the specified name. |
static Long |
Long.getLong(String nm,
long val)
Determines the
long value of the system property
with the specified name. |
static Long |
Long.getLong(String nm,
Long val)
Returns the
long value of the system property with
the specified name. |
Method |
Class.getMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |
private Method |
Class.getMethod0(String name,
Class<?>[] parameterTypes) |
static Package |
Package.getPackage(String name)
Find a package by name in the callers
ClassLoader instance. |
protected Package |
ClassLoader.getPackage(String name)
Returns a Package that has been defined by this class loader
or any of its ancestors.
|
private static String[] |
SecurityManager.getPackages(String p) |
(package private) static Class |
Class.getPrimitiveClass(String name) |
static String |
System.getProperty(String key)
Gets the system property indicated by the specified key.
|
static String |
System.getProperty(String key,
String def)
Gets the system property indicated by the specified key.
|
URL |
ClassLoader.getResource(String name)
Finds the resource with the given name.
|
URL |
Class.getResource(String name)
Finds a resource with a given name.
|
InputStream |
ClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
Enumeration<URL> |
ClassLoader.getResources(String name)
Finds all the resources with the given name.
|
(package private) static Package |
Package.getSystemPackage(String name) |
private static String |
Package.getSystemPackage0(String name) |
static URL |
ClassLoader.getSystemResource(String name)
Find a resource of the specified name from the search path used to load
classes.
|
static InputStream |
ClassLoader.getSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path
used to load classes.
|
static Enumeration<URL> |
ClassLoader.getSystemResources(String name)
Finds all resources of the specified name from the search path used to
load classes.
|
protected boolean |
SecurityManager.inClass(String name)
Deprecated.
This type of security checking is not recommended.
It is recommended that the
checkPermission
call be used instead. |
int |
StringBuilder.indexOf(String str) |
int |
StringBuffer.indexOf(String str) |
int |
String.indexOf(String str)
Returns the index within this string of the first occurrence of the
specified substring.
|
int |
AbstractStringBuilder.indexOf(String str)
Returns the index within this string of the first occurrence of the
specified substring.
|
int |
StringBuilder.indexOf(String str,
int fromIndex) |
int |
StringBuffer.indexOf(String str,
int fromIndex) |
int |
String.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
|
int |
AbstractStringBuilder.indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
|
private void |
Thread.init(ThreadGroup g,
Runnable target,
String name,
long stackSize)
Initializes a Thread with the current AccessControlContext.
|
private void |
Thread.init(ThreadGroup g,
Runnable target,
String name,
long stackSize,
AccessControlContext acc)
Initializes a Thread.
|
private static String[] |
ClassLoader.initializePath(String propname) |
StringBuilder |
StringBuilder.insert(int offset,
String str) |
StringBuffer |
StringBuffer.insert(int offset,
String str) |
AbstractStringBuilder |
AbstractStringBuilder.insert(int offset,
String str)
Inserts the string into this character sequence.
|
private static boolean |
ConditionalSpecialCasing.isAfterI(String src,
int index)
Implements the "After_I" condition
Specification: The last preceding base character was an uppercase I,
and there is no intervening combining character class 230 (ABOVE).
|
private static boolean |
ConditionalSpecialCasing.isAfterSoftDotted(String src,
int index)
Implements the "After_Soft_Dotted" condition
Specification: The last preceding character with combining class
of zero before C was Soft_Dotted, and there is no intervening
combining character class 230 (ABOVE).
|
private static boolean |
ConditionalSpecialCasing.isBeforeDot(String src,
int index)
Implements the "Before_Dot" condition
Specification: C is followed by
U+0307 COMBINING DOT ABOVE. |
boolean |
Package.isCompatibleWith(String desired)
Compare this package's specification version with a
desired version.
|
private static boolean |
ConditionalSpecialCasing.isConditionMet(String src,
int index,
Locale locale,
int condition) |
private static boolean |
ConditionalSpecialCasing.isFinalCased(String src,
int index,
Locale locale)
Implements the "Final_Cased" condition
Specification: Within the closest word boundaries containing C, there is a cased
letter before C, and there is no cased letter after C.
|
private static boolean |
ConditionalSpecialCasing.isMoreAbove(String src,
int index)
Implements the "More_Above" condition
Specification: C is followed by one or more characters of combining
class 230 (ABOVE) in the combining character sequence.
|
int |
StringBuilder.lastIndexOf(String str) |
int |
StringBuffer.lastIndexOf(String str) |
int |
String.lastIndexOf(String str)
Returns the index within this string of the last occurrence of the
specified substring.
|
int |
AbstractStringBuilder.lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence
of the specified substring.
|
int |
StringBuilder.lastIndexOf(String str,
int fromIndex) |
int |
StringBuffer.lastIndexOf(String str,
int fromIndex) |
int |
String.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the
specified substring, searching backward starting at the specified index.
|
int |
AbstractStringBuilder.lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the
specified substring.
|
static void |
System.load(String filename)
Loads a code file with the specified filename from the local file
system as a dynamic library.
|
void |
Runtime.load(String filename)
Loads the specified filename as a dynamic library.
|
(package private) void |
ClassLoader.NativeLibrary.load(String name) |
(package private) void |
Runtime.load0(Class fromClass,
String filename) |
Class<?> |
ClassLoader.loadClass(String name)
Loads the class with the specified binary name.
|
protected Class<?> |
ClassLoader.loadClass(String name,
boolean resolve)
Loads the class with the specified binary name.
|
private Class |
ClassLoader.loadClassInternal(String name) |
(package private) static void |
ClassLoader.loadLibrary(Class fromClass,
String name,
boolean isAbsolute) |
static void |
System.loadLibrary(String libname)
Loads the system library specified by the
libname
argument. |
void |
Runtime.loadLibrary(String libname)
Loads the dynamic library with the specified library name.
|
(package private) void |
Runtime.loadLibrary0(Class fromClass,
String libname) |
private static Manifest |
Package.loadManifest(String fn) |
private static Charset |
StringCoding.lookupCharset(String csn) |
private static char[] |
ConditionalSpecialCasing.lookUpTable(String src,
int index,
Locale locale,
boolean bLowerCasing) |
static String |
System.mapLibraryName(String libname)
Maps a library name into a platform-specific string representing
a native library.
|
boolean |
String.matches(String regex)
Tells whether or not this string matches the given regular expression.
|
private static long |
Class.Atomic.objectFieldOffset(Field[] fields,
String fieldName) |
static boolean |
Boolean.parseBoolean(String s)
Parses the string argument as a boolean.
|
static byte |
Byte.parseByte(String s)
Parses the string argument as a signed decimal
byte. |
static byte |
Byte.parseByte(String s,
int radix)
Parses the string argument as a signed
byte in the
radix specified by the second argument. |
static double |
Double.parseDouble(String s)
Returns a new
double initialized to the value
represented by the specified String, as performed
by the valueOf method of class
Double. |
static float |
Float.parseFloat(String s)
Returns a new
float initialized to the value
represented by the specified String, as performed
by the valueOf method of class Float. |
static int |
Integer.parseInt(String s)
Parses the string argument as a signed decimal integer.
|
static int |
Integer.parseInt(String s,
int radix)
Parses the string argument as a signed integer in the radix
specified by the second argument.
|
static long |
Long.parseLong(String s)
Parses the string argument as a signed decimal
long. |
static long |
Long.parseLong(String s,
int radix)
Parses the string argument as a signed
long in the
radix specified by the second argument. |
static short |
Short.parseShort(String s)
Parses the string argument as a signed decimal
short. |
static short |
Short.parseShort(String s,
int radix)
Parses the string argument as a signed
short in the
radix specified by the second argument. |
private ProtectionDomain |
ClassLoader.preDefineClass(String name,
ProtectionDomain pd) |
private void |
Throwable.printEnclosedStackTrace(Throwable.PrintStreamOrWriter s,
StackTraceElement[] enclosingTrace,
String caption,
String prefix,
Set<Throwable> dejaVu)
Print our stack trace as an enclosed exception for the specified
stack trace.
|
String |
ProcessEnvironment.StringEnvironment.put(String key,
String value) |
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
boolean |
String.regionMatches(int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal.
|
StringBuilder |
StringBuilder.replace(int start,
int end,
String str) |
StringBuffer |
StringBuffer.replace(int start,
int end,
String str) |
AbstractStringBuilder |
AbstractStringBuilder.replace(int start,
int end,
String str)
Replaces the characters in a substring of this sequence
with characters in the specified
String. |
String |
String.replaceAll(String regex,
String replacement)
Replaces each substring of this string that matches the given regular expression with the
given replacement.
|
String |
String.replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given regular expression with the
given replacement.
|
private String |
Class.resolveName(String name)
Add a package name prefix if the name is not absolute Remove leading "/"
if name is absolute
|
private static Field |
Class.searchFields(Field[] fields,
String name) |
private static Method |
Class.searchMethods(Method[] methods,
String name,
Class<?>[] parameterTypes) |
void |
ClassLoader.setClassAssertionStatus(String className,
boolean enabled)
Sets the desired assertion status for the named top-level class in this
class loader and any nested classes contained therein.
|
void |
Thread.setName(String name)
Changes the name of this thread to be equal to the argument
name. |
private void |
Thread.setNativeName(String name) |
void |
ClassLoader.setPackageAssertionStatus(String packageName,
boolean enabled)
Sets the package default assertion status for the named package.
|
static String |
System.setProperty(String key,
String value)
Sets the system property indicated by the specified key.
|
String |
ProcessEnvironment.StringEntry.setValue(String newValue) |
String[] |
String.split(String regex)
Splits this string around matches of the given regular expression.
|
String[] |
String.split(String regex,
int limit)
Splits this string around matches of the given
regular expression.
|
(package private) static Process |
ProcessImpl.start(String[] cmdarray,
Map<String,String> environment,
String dir,
ProcessBuilder.Redirect[] redirects,
boolean redirectErrorStream) |
(package private) static Process |
ProcessImpl.start(String[] cmdarray,
Map<String,String> environment,
String dir,
ProcessBuilder.Redirect[] redirects,
boolean redirectErrorStream) |
boolean |
String.startsWith(String prefix)
Tests if this string starts with the specified prefix.
|
boolean |
String.startsWith(String prefix,
int toffset)
Tests if the substring of this string beginning at the
specified index starts with the specified prefix.
|
private static boolean |
Boolean.toBoolean(String name) |
private static byte[] |
UNIXProcess.toCString(String s) |
private static byte[] |
ProcessImpl.toCString(String s) |
(package private) static char[] |
ConditionalSpecialCasing.toLowerCaseCharArray(String src,
int index,
Locale locale) |
(package private) static int |
ConditionalSpecialCasing.toLowerCaseEx(String src,
int index,
Locale locale) |
(package private) static char[] |
ConditionalSpecialCasing.toUpperCaseCharArray(String src,
int index,
Locale locale) |
(package private) static int |
ConditionalSpecialCasing.toUpperCaseEx(String src,
int index,
Locale locale) |
private static void |
ProcessEnvironment.validateValue(String value) |
private static void |
ProcessEnvironment.validateVariable(String name) |
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name)
Returns the enum constant of the specified enum type with the
specified name.
|
static UNIXProcess.LaunchMechanism |
UNIXProcess.LaunchMechanism.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Thread.State |
Thread.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Short |
Short.valueOf(String s)
Returns a
Short object holding the
value given by the specified String. |
static ProcessEnvironment.Variable |
ProcessEnvironment.Variable.valueOf(String str) |
static ProcessEnvironment.Value |
ProcessEnvironment.Value.valueOf(String str) |
static ProcessBuilder.Redirect.Type |
ProcessBuilder.Redirect.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Long |
Long.valueOf(String s)
Returns a
Long object holding the value
of the specified String. |
static Integer |
Integer.valueOf(String s)
Returns an
Integer object holding the
value of the specified String. |
static Float |
Float.valueOf(String s)
Returns a
Float object holding the
float value represented by the argument string
s. |
static Double |
Double.valueOf(String s)
Returns a
Double object holding the
double value represented by the argument string
s. |
static Character.UnicodeScript |
Character.UnicodeScript.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Byte |
Byte.valueOf(String s)
Returns a
Byte object holding the value
given by the specified String. |
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the
specified string. |
static Short |
Short.valueOf(String s,
int radix)
Returns a
Short object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static Long |
Long.valueOf(String s,
int radix)
Returns a
Long object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static Integer |
Integer.valueOf(String s,
int radix)
Returns an
Integer object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static Byte |
Byte.valueOf(String s,
int radix)
Returns a
Byte object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
static ProcessEnvironment.Variable |
ProcessEnvironment.Variable.valueOfQueryOnly(String str) |
static ProcessEnvironment.Value |
ProcessEnvironment.Value.valueOfQueryOnly(String str) |
private static void |
StringCoding.warnUnsupportedCharset(String csn) |
| Modifier and Type | Method and Description |
|---|---|
ProcessBuilder |
ProcessBuilder.command(List<String> command)
Sets this process builder's operating system program and
arguments.
|
(package private) static Process |
ProcessImpl.start(String[] cmdarray,
Map<String,String> environment,
String dir,
ProcessBuilder.Redirect[] redirects,
boolean redirectErrorStream) |
(package private) static Process |
ProcessImpl.start(String[] cmdarray,
Map<String,String> environment,
String dir,
ProcessBuilder.Redirect[] redirects,
boolean redirectErrorStream) |
(package private) static byte[] |
ProcessEnvironment.toEnvironmentBlock(Map<String,String> map,
int[] envc) |
(package private) static byte[] |
ProcessEnvironment.toEnvironmentBlock(Map<String,String> map,
int[] envc) |
| Constructor and Description |
|---|
AbstractMethodError(String s)
Constructs an
AbstractMethodError with the specified
detail message. |
ArithmeticException(String s)
Constructs an
ArithmeticException with the specified
detail message. |
ArrayIndexOutOfBoundsException(String s)
Constructs an
ArrayIndexOutOfBoundsException class
with the specified detail message. |
ArrayStoreException(String s)
Constructs an
ArrayStoreException with the specified
detail message. |
AssertionError(String detailMessage)
This internal constructor does no processing on its string argument,
even if it is a null reference.
|
AssertionError(String message,
Throwable cause)
Constructs a new
AssertionError with the specified
detail message and cause. |
Boolean(String s)
Allocates a
Boolean object representing the value
true if the string argument is not null
and is equal, ignoring case, to the string "true". |
BootstrapMethodError(String s)
Constructs a
BootstrapMethodError with the specified
detail message. |
BootstrapMethodError(String s,
Throwable cause)
Constructs a
BootstrapMethodError with the specified
detail message and cause. |
Byte(String s)
Constructs a newly allocated
Byte object that
represents the byte value indicated by the
String parameter. |
Character.Subset(String name)
Constructs a new
Subset instance. |
Character.UnicodeBlock(String idName)
Creates a UnicodeBlock with the given identifier name.
|
Character.UnicodeBlock(String idName,
String... aliases)
Creates a UnicodeBlock with the given identifier name and
alias names.
|
Character.UnicodeBlock(String idName,
String... aliases)
Creates a UnicodeBlock with the given identifier name and
alias names.
|
Character.UnicodeBlock(String idName,
String alias)
Creates a UnicodeBlock with the given identifier name and
alias name.
|
ClassCastException(String s)
Constructs a
ClassCastException with the specified
detail message. |
ClassCircularityError(String s)
Constructs a
ClassCircularityError with the specified detail
message. |
ClassFormatError(String s)
Constructs a
ClassFormatError with the specified
detail message. |
ClassLoader.NativeLibrary(Class fromClass,
String name) |
ClassNotFoundException(String s)
Constructs a
ClassNotFoundException with the
specified detail message. |
ClassNotFoundException(String s,
Throwable ex)
Constructs a
ClassNotFoundException with the
specified detail message and optional exception that was
raised while loading the class. |
CloneNotSupportedException(String s)
Constructs a
CloneNotSupportedException with the
specified detail message. |
ConditionalSpecialCasing.Entry(int ch,
char[] lower,
char[] upper,
String lang,
int condition) |
Double(String s)
Constructs a newly allocated
Double object that
represents the floating-point value of type double
represented by the string. |
Enum(String name,
int ordinal)
Sole constructor.
|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs an EnumConstantNotPresentException for the
specified constant.
|
Error(String message)
Constructs a new error with the specified detail message.
|
Error(String message,
Throwable cause)
Constructs a new error with the specified detail message and
cause.
|
Error(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new error with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
|
Exception(String message)
Constructs a new exception with the specified detail message.
|
Exception(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
Exception(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new exception with the specified detail message,
cause, suppression enabled or disabled, and writable stack
trace enabled or disabled.
|
ExceptionInInitializerError(String s)
Constructs an ExceptionInInitializerError with the specified detail
message string.
|
Float(String s)
Constructs a newly allocated
Float object that
represents the floating-point value of type float
represented by the string. |
IllegalAccessError(String s)
Constructs an
IllegalAccessError with the specified
detail message. |
IllegalAccessException(String s)
Constructs an
IllegalAccessException with a detail message. |
IllegalArgumentException(String s)
Constructs an
IllegalArgumentException with the
specified detail message. |
IllegalArgumentException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
IllegalMonitorStateException(String s)
Constructs an
IllegalMonitorStateException with the
specified detail message. |
IllegalStateException(String s)
Constructs an IllegalStateException with the specified detail
message.
|
IllegalStateException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
IllegalThreadStateException(String s)
Constructs an
IllegalThreadStateException with the
specified detail message. |
IncompatibleClassChangeError(String s)
Constructs an
IncompatibleClassChangeError with the
specified detail message. |
IndexOutOfBoundsException(String s)
Constructs an
IndexOutOfBoundsException with the
specified detail message. |
InstantiationError(String s)
Constructs an
InstantiationError with the specified
detail message. |
InstantiationException(String s)
Constructs an
InstantiationException with the
specified detail message. |
Integer(String s)
Constructs a newly allocated
Integer object that
represents the int value indicated by the
String parameter. |
InternalError(String s)
Constructs an
InternalError with the specified
detail message. |
InterruptedException(String s)
Constructs an
InterruptedException with the
specified detail message. |
LinkageError(String s)
Constructs a
LinkageError with the specified detail
message. |
LinkageError(String s,
Throwable cause)
Constructs a
LinkageError with the specified detail
message and cause. |
Long(String s)
Constructs a newly allocated
Long object that
represents the long value indicated by the
String parameter. |
NegativeArraySizeException(String s)
Constructs a
NegativeArraySizeException with the
specified detail message. |
NoClassDefFoundError(String s)
Constructs a
NoClassDefFoundError with the specified
detail message. |
NoSuchFieldError(String s)
Constructs a
NoSuchFieldError with the specified
detail message. |
NoSuchFieldException(String s)
Constructor with a detail message.
|
NoSuchMethodError(String s)
Constructs a
NoSuchMethodError with the
specified detail message. |
NoSuchMethodException(String s)
Constructs a
NoSuchMethodException with a detail message. |
NullPointerException(String s)
Constructs a
NullPointerException with the specified
detail message. |
NumberFormatException(String s)
Constructs a
NumberFormatException with the
specified detail message. |
OutOfMemoryError(String s)
Constructs an
OutOfMemoryError with the specified
detail message. |
Package(String name,
Manifest man,
URL url,
ClassLoader loader) |
Package(String name,
String spectitle,
String specversion,
String specvendor,
String impltitle,
String implversion,
String implvendor,
URL sealbase,
ClassLoader loader)
Construct a package instance with the specified version
information.
|
ProcessBuilder(String... command)
Constructs a process builder with the specified operating
system program and arguments.
|
ProcessEnvironment.ExternalData(String str,
byte[] bytes) |
ProcessEnvironment.Value(String str,
byte[] bytes) |
ProcessEnvironment.Variable(String str,
byte[] bytes) |
ReflectiveOperationException(String message)
Constructs a new exception with the specified detail message.
|
ReflectiveOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message
and cause.
|
RuntimeException(String message)
Constructs a new runtime exception with the specified detail message.
|
RuntimeException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and
cause.
|
RuntimeException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new runtime exception with the specified detail
message, cause, suppression enabled or disabled, and writable
stack trace enabled or disabled.
|
RuntimePermission(String name)
Creates a new RuntimePermission with the specified name.
|
RuntimePermission(String name,
String actions)
Creates a new RuntimePermission object with the specified name.
|
SecurityException(String s)
Constructs a
SecurityException with the specified
detail message. |
SecurityException(String message,
Throwable cause)
Creates a
SecurityException with the specified
detail message and cause. |
Short(String s)
Constructs a newly allocated
Short object that
represents the short value indicated by the
String parameter. |
StackOverflowError(String s)
Constructs a
StackOverflowError with the specified
detail message. |
StackTraceElement(String declaringClass,
String methodName,
String fileName,
int lineNumber)
Creates a stack trace element representing the specified execution
point.
|
String(byte[] bytes,
int offset,
int length,
String charsetName)
Constructs a new
String by decoding the specified subarray of
bytes using the specified charset. |
String(byte[] bytes,
String charsetName)
Constructs a new
String by decoding the specified array of bytes
using the specified charset. |
String(String original)
Initializes a newly created
String object so that it represents
the same sequence of characters as the argument; in other words, the
newly created string is a copy of the argument string. |
StringBuffer(String str)
Constructs a string buffer initialized to the contents of the
specified string.
|
StringBuilder(String str)
Constructs a string builder initialized to the contents of the
specified string.
|
StringCoding.StringDecoder(Charset cs,
String rcn) |
StringCoding.StringEncoder(Charset cs,
String rcn) |
StringIndexOutOfBoundsException(String s)
Constructs a
StringIndexOutOfBoundsException with
the specified detail message. |
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Thread(String name)
Allocates a new
Thread object. |
Thread(ThreadGroup group,
Runnable target,
String name)
Allocates a new
Thread object so that it has target
as its run object, has the specified name as its name,
and belongs to the thread group referred to by group. |
Thread(ThreadGroup group,
Runnable target,
String name,
long stackSize)
Allocates a new
Thread object so that it has target
as its run object, has the specified name as its name,
and belongs to the thread group referred to by group, and has
the specified stack size. |
Thread(ThreadGroup group,
String name)
Allocates a new
Thread object. |
ThreadGroup(String name)
Constructs a new thread group.
|
ThreadGroup(ThreadGroup parent,
String name)
Creates a new thread group.
|
ThreadGroup(Void unused,
ThreadGroup parent,
String name) |
Throwable(String message)
Constructs a new throwable with the specified detail message.
|
Throwable(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and
cause.
|
Throwable(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new throwable with the specified detail message,
cause, suppression enabled or
disabled, and writable stack trace enabled or disabled.
|
TypeNotPresentException(String typeName,
Throwable cause)
Constructs a TypeNotPresentException for the named type
with the specified cause.
|
UnknownError(String s)
Constructs an
UnknownError with the specified detail
message. |
UnsatisfiedLinkError(String s)
Constructs an
UnsatisfiedLinkError with the
specified detail message. |
UnsupportedClassVersionError(String s)
Constructs a
UnsupportedClassVersionError with
the specified detail message. |
UnsupportedOperationException(String message)
Constructs an UnsupportedOperationException with the specified
detail message.
|
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
VerifyError(String s)
Constructs an
VerifyError with the specified detail message. |
VirtualMachineError(String s)
Constructs a
VirtualMachineError with the specified
detail message. |
| Constructor and Description |
|---|
ProcessBuilder(List<String> command)
Constructs a process builder with the specified operating
system program and arguments.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
IncompleteAnnotationException.elementName |
private String |
AnnotationTypeMismatchException.foundType
The (erroneous) type of data found in the annotation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
IncompleteAnnotationException.elementName()
Returns the name of the missing element.
|
String |
AnnotationTypeMismatchException.foundType()
Returns the type of data found in the incorrectly typed element.
|
String |
Annotation.toString()
Returns a string representation of this annotation.
|
| Modifier and Type | Method and Description |
|---|---|
static RetentionPolicy |
RetentionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementType |
ElementType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
AnnotationFormatError(String message)
Constructs a new AnnotationFormatError with the specified
detail message.
|
AnnotationFormatError(String message,
Throwable cause)
Constructs a new AnnotationFormatError with the specified
detail message and cause.
|
AnnotationTypeMismatchException(Method element,
String foundType)
Constructs an AnnotationTypeMismatchException for the specified
annotation type element and found data type.
|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that
the named element was missing from the specified annotation type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Instrumentation.setNativeMethodPrefix(ClassFileTransformer transformer,
String prefix)
This method modifies the failure handling of
native method resolution by allowing retry
with a prefix applied to the name.
|
byte[] |
ClassFileTransformer.transform(ClassLoader loader,
String className,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer)
The implementation of this method may transform the supplied class file and
return a new replacement class file.
|
| Constructor and Description |
|---|
IllegalClassFormatException(String s)
Constructs an
IllegalClassFormatException with the
specified detail message. |
UnmodifiableClassException(String s)
Constructs an
UnmodifiableClassException with the
specified detail message. |
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
LambdaForm.ALL_TYPES |
private static String |
InvokerBytecodeGenerator.BMH |
(package private) static String |
BoundMethodHandle.Factory.BMH |
(package private) static String |
BoundMethodHandle.Factory.BMH_SIG |
(package private) static String |
BoundMethodHandle.Factory.BMHSPECIES_DATA_EWI_SIG |
(package private) static String |
BoundMethodHandle.Factory.BMHSPECIES_DATA_GFC_SIG |
private String |
InvokerBytecodeGenerator.className
Name of new class
|
private static String |
InvokerBytecodeGenerator.CLS |
(package private) static String |
MemberName.CONSTRUCTOR_NAME |
(package private) String |
LambdaForm.debugName |
(package private) static String[] |
BoundMethodHandle.Factory.E_THROWABLE |
(package private) static String |
BoundMethodHandle.EXTENSION_TYPES |
private String |
InvokerBytecodeGenerator.invokerName |
(package private) static String |
BoundMethodHandle.Factory.JLC_SIG |
(package private) static String |
BoundMethodHandle.Factory.JLO_SIG |
(package private) static String |
BoundMethodHandle.Factory.JLS_SIG |
private static String |
InvokerBytecodeGenerator.LF |
private static String |
InvokerBytecodeGenerator.LF_SIG |
private static String |
InvokerBytecodeGenerator.LFN |
private static String |
InvokerBytecodeGenerator.LFN_SIG |
private static String |
InvokerBytecodeGenerator.LL_SIG |
private static String |
InvokerBytecodeGenerator.MH
Define class names for convenience.
|
(package private) static String |
BoundMethodHandle.Factory.MH |
(package private) static String |
BoundMethodHandle.Factory.MH_SIG |
(package private) static String |
BoundMethodHandle.Factory.MYSPECIES_DATA_SIG |
private String |
MethodHandleInfo.name |
private String |
MemberName.name |
private static String |
InvokerBytecodeGenerator.OBJ |
private static String |
InvokerBytecodeGenerator.OBJARY |
(package private) String |
InvokerBytecodeGenerator.CpPatch.placeholder |
private static String[] |
MethodHandleNatives.REFERENCE_KIND_NAME |
(package private) static String |
BoundMethodHandle.Factory.SIG_INCIPIT |
private String |
InvokerBytecodeGenerator.sourceFile
Name of the source file (for stack trace printing).
|
(package private) static String |
BoundMethodHandle.Factory.SPECIES_DATA |
(package private) static String |
BoundMethodHandle.Factory.SPECIES_DATA_SIG |
(package private) static String |
BoundMethodHandle.Factory.SPECIES_PREFIX_NAME |
(package private) static String |
BoundMethodHandle.Factory.SPECIES_PREFIX_PATH |
private static String |
InvokerBytecodeGenerator.superName
Name of its super class
|
(package private) String |
BoundMethodHandle.SpeciesData.types |
(package private) static String |
BoundMethodHandle.Factory.VOID_SIG |
| Modifier and Type | Field and Description |
|---|---|
private static HashMap<String,BoundMethodHandle.SpeciesData> |
BoundMethodHandle.SpeciesData.CACHE |
private static HashMap<String,Integer> |
InvokerBytecodeGenerator.DUMP_CLASS_FILES_COUNTERS
instance counters for dumped classes
|
private static ConcurrentHashMap<String,LambdaForm> |
LambdaForm.PREPARED_FORMS |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
MethodHandles.Lookup.accessFailedMessage(Class<?> refc,
MemberName m) |
(package private) static String |
MethodHandleStatics.addTypeString(Object obj,
MethodHandle target) |
private static String |
InvokerBytecodeGenerator.basicTypeCharSignature(String prefix,
MethodType type) |
(package private) String |
LambdaForm.basicTypeSignature()
Return ABC_Z, where the ABC are parameter type characters, and Z is the return type character.
|
(package private) String |
LambdaForm.NamedFunction.basicTypeSignature() |
static String |
LambdaForm.basicTypeSignature(MethodType type) |
(package private) String |
InvokerBytecodeGenerator.constantPlaceholder(Object arg) |
(package private) String |
MethodHandle.debugString() |
String |
LambdaForm.Name.debugString() |
String |
LambdaForm.Name.exprString() |
private static String |
InvokerBytecodeGenerator.getInternalName(Class<?> c) |
String |
MethodHandleInfo.getName() |
String |
MemberName.getName()
Return the simple name of this member.
|
private static String |
MemberName.getName(Object obj) |
(package private) static String |
MethodHandleStatics.getNameString(MethodHandle target) |
(package private) static String |
MethodHandleStatics.getNameString(MethodHandle target,
MethodHandle typeHolder) |
(package private) static String |
MethodHandleStatics.getNameString(MethodHandle target,
MethodType type) |
String |
MemberName.getSignature()
Utility method to produce the signature of this member,
used within the class file format to describe its type.
|
(package private) String |
DirectMethodHandle.internalProperties() |
private static String |
InvokerBytecodeGenerator.makeDumpableClassName(String className) |
private static String |
BoundMethodHandle.Factory.makeFieldName(String types,
int index)
Field names in concrete BMHs adhere to this pattern:
arg + type + index
where type is a single character (L, I, J, F, D).
|
private static String |
BoundMethodHandle.Factory.makeSignature(String types,
boolean ctor) |
private String |
MemberName.message() |
private static String |
MethodHandleStatics.message(String message,
Object obj) |
private static String |
MethodHandleStatics.message(String message,
Object obj,
Object obj2) |
(package private) static String |
MethodHandleImpl.ArrayAccessor.name(Class<?> arrayClass,
boolean isSetter) |
(package private) static String |
MethodHandleNatives.refKindName(byte refKind) |
(package private) String |
MethodHandle.standardString() |
(package private) static String |
MethodType.toFieldDescriptorString(Class<?> cls) |
String |
MethodType.toMethodDescriptorString()
Produces a bytecode descriptor representation of the method type.
|
String |
MethodTypeForm.toString() |
String |
MethodType.toString()
Returns a string representation of the method type,
of the form
"(PT0,PT1...)RT". |
String |
MethodHandles.Lookup.toString()
Displays the name of the class from which lookups are to be made.
|
String |
MethodHandle.toString()
Returns a string representation of the method handle,
starting with the string
"MethodHandle" and
ending with the string representation of the method handle's type. |
String |
MemberName.toString()
Produce a string form of this member name.
|
String |
LambdaForm.toString() |
String |
LambdaForm.NamedFunction.toString() |
String |
LambdaForm.Name.toString() |
String |
Invokers.toString() |
String |
InvokerBytecodeGenerator.CpPatch.toString() |
String |
InvokeGeneric.toString() |
String |
BoundMethodHandle.SpeciesData.toString() |
(package private) static String |
BoundMethodHandle.Factory.typeSig(char t) |
| Modifier and Type | Method and Description |
|---|---|
private static Map<String,LambdaForm> |
LambdaForm.computeInitialPreparedForms() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static LambdaForm.Name[] |
LambdaForm.arguments(int extra,
String types) |
private static boolean |
LambdaForm.argumentTypesMatch(String sig,
Object[] av) |
private static String |
InvokerBytecodeGenerator.basicTypeCharSignature(String prefix,
MethodType type) |
MethodHandle |
MethodHandles.Lookup.bind(Object receiver,
String name,
MethodType type)
Produces an early-bound method handle for a non-static method.
|
private static LambdaForm.Name[] |
LambdaForm.buildEmptyNames(int arity,
String basicTypeSignature) |
(package private) void |
MethodHandles.Lookup.checkMethodName(byte refKind,
String name) |
private MethodHandle |
InvokeGeneric.dispatcher(String dispatchName) |
private static void |
BoundMethodHandle.Factory.emitPushFields(String types,
String className,
MethodVisitor mv) |
MethodHandle |
MethodHandles.Lookup.findGetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving read access to a non-static field.
|
MethodHandle |
MethodHandles.Lookup.findSetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving write access to a non-static field.
|
MethodHandle |
MethodHandles.Lookup.findSpecial(Class<?> refc,
String name,
MethodType type,
Class<?> specialCaller)
Produces an early-bound method handle for a virtual method,
as if called from an
invokespecial
instruction from caller. |
MethodHandle |
MethodHandles.Lookup.findStatic(Class<?> refc,
String name,
MethodType type)
Produces a method handle for a static method.
|
MethodHandle |
MethodHandles.Lookup.findStaticGetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving read access to a static field.
|
MethodHandle |
MethodHandles.Lookup.findStaticSetter(Class<?> refc,
String name,
Class<?> type)
Produces a method handle giving write access to a static field.
|
MethodHandle |
MethodHandles.Lookup.findVirtual(Class<?> refc,
String name,
MethodType type)
Produces a method handle for a virtual method.
|
private MethodHandle |
MethodHandles.Lookup.findVirtualForMH(String name,
MethodType type) |
static MethodType |
MethodType.fromMethodDescriptorString(String descriptor,
ClassLoader loader)
Finds or creates an instance of a method type, given the spelling of its bytecode descriptor.
|
(package private) static Class<? extends BoundMethodHandle> |
BoundMethodHandle.Factory.generateConcreteBMHClass(String types)
Generate a concrete subclass of BMH for a given combination of bound types.
|
(package private) static MemberName |
InvokerBytecodeGenerator.generateLambdaFormInterpreterEntryPoint(String sig)
Generate bytecode for a LambdaForm.vmentry which calls interpretWithArguments.
|
private static BoundMethodHandle.SpeciesData |
BoundMethodHandle.SpeciesData.get(String types) |
List<MemberName> |
MemberName.Factory.getFields(Class<?> defc,
boolean searchSupers,
String name,
Class<?> type,
Class<?> lookupClass)
Return a list of all fields defined by the given class.
|
(package private) static BoundMethodHandle.SpeciesData |
BoundMethodHandle.SpeciesData.getForClass(String types,
Class<? extends BoundMethodHandle> clazz) |
(package private) List<MemberName> |
MemberName.Factory.getMembers(Class<?> defc,
String matchName,
Object matchType,
int matchFlags,
Class<?> lookupClass) |
(package private) static int |
MethodHandleNatives.getMembers(Class<?> defc,
String matchName,
String matchSig,
int matchFlags,
Class<?> caller,
int skip,
MemberName[] results) |
List<MemberName> |
MemberName.Factory.getMethods(Class<?> defc,
boolean searchSupers,
String name,
MethodType type,
Class<?> lookupClass)
Return a list of matching methods defined by the given class.
|
private static LambdaForm |
LambdaForm.getPreparedForm(String sig) |
(package private) static BoundMethodHandle.SpeciesData |
BoundMethodHandle.getSpeciesData(String types) |
private void |
MemberName.init(Class<?> defClass,
String name,
Object type,
int flags)
Initialize a query.
|
private static boolean |
MethodHandleNatives.isCallerSensitiveMethod(Class<?> defc,
String method) |
(package private) static boolean |
LambdaForm.isValidSignature(String sig) |
(package private) static MemberName |
MethodHandleNatives.linkMethod(Class<?> callerClass,
int refKind,
Class<?> defc,
String name,
Object type,
Object[] appendixResult)
The JVM wants to link a call site that requires a dynamic type check.
|
(package private) MethodHandle |
MethodHandles.Lookup.linkMethodHandleConstant(byte refKind,
Class<?> defc,
String name,
Object type)
Hook called from the JVM (via MethodHandleNatives) to link MH constants:
|
(package private) static MethodHandle |
MethodHandleNatives.linkMethodHandleConstant(Class<?> callerClass,
int refKind,
Class<?> defc,
String name,
Object type)
The JVM is resolving a CONSTANT_MethodHandle CP entry.
|
(package private) static MemberName |
MethodHandleNatives.linkMethodImpl(Class<?> callerClass,
int refKind,
Class<?> defc,
String name,
Object type,
Object[] appendixResult) |
(package private) static MemberName |
MethodHandleNatives.linkMethodTracing(Class<?> callerClass,
int refKind,
Class<?> defc,
String name,
Object type,
Object[] appendixResult) |
private static BoundMethodHandle.SpeciesData |
BoundMethodHandle.SpeciesData.lookupCache(String types) |
IllegalAccessException |
MemberName.makeAccessException(String message,
Object from) |
(package private) static MethodHandle |
BoundMethodHandle.Factory.makeCbmhCtor(Class<? extends BoundMethodHandle> cbmh,
String types) |
(package private) static MethodHandle[] |
BoundMethodHandle.Factory.makeCtors(Class<? extends BoundMethodHandle> cbmh,
String types,
MethodHandle[] mhs) |
private static String |
InvokerBytecodeGenerator.makeDumpableClassName(String className) |
private static String |
BoundMethodHandle.Factory.makeFieldName(String types,
int index)
Field names in concrete BMHs adhere to this pattern:
arg + type + index
where type is a single character (L, I, J, F, D).
|
private static MethodHandle |
BoundMethodHandle.Factory.makeGetter(Class<?> cbmhClass,
String types,
int index) |
(package private) static MethodHandle[] |
BoundMethodHandle.Factory.makeGetters(Class<?> cbmhClass,
String types,
MethodHandle[] mhs) |
private static String |
BoundMethodHandle.Factory.makeSignature(String types,
boolean ctor) |
(package private) static CallSite |
CallSite.makeSite(MethodHandle bootstrapMethod,
String name,
MethodType type,
Object info,
Class<?> callerClass) |
(package private) static void |
InvokerBytecodeGenerator.maybeDump(String className,
byte[] classFile) |
private static String |
MethodHandleStatics.message(String message,
Object obj) |
private static String |
MethodHandleStatics.message(String message,
Object obj,
Object obj2) |
(package private) static RuntimeException |
MethodHandles.misMatchedTypes(String what,
MethodType t1,
MethodType t2) |
(package private) static RuntimeException |
MethodHandleStatics.newIllegalArgumentException(String message) |
(package private) static RuntimeException |
MethodHandleStatics.newIllegalArgumentException(String message,
Object obj) |
(package private) static RuntimeException |
MethodHandleStatics.newIllegalArgumentException(String message,
Object obj,
Object obj2) |
(package private) static RuntimeException |
MethodHandleStatics.newIllegalStateException(String message) |
(package private) static RuntimeException |
MethodHandleStatics.newIllegalStateException(String message,
Object obj) |
(package private) static InternalError |
MethodHandleStatics.newInternalError(String message,
Throwable cause) |
private static MemberName |
InvokerBytecodeGenerator.resolveInvokerMember(Class<?> invokerClass,
String name,
MethodType type)
TODO
|
(package private) MemberName |
MethodHandles.Lookup.resolveOrFail(byte refKind,
Class<?> refc,
String name,
Class<?> type) |
(package private) MemberName |
MethodHandles.Lookup.resolveOrFail(byte refKind,
Class<?> refc,
String name,
MethodType type) |
private static boolean |
LambdaForm.returnTypesMatch(String sig,
Object[] av,
Object res) |
(package private) static int |
LambdaForm.signatureArity(String sig) |
(package private) static char |
LambdaForm.signatureReturn(String sig) |
(package private) static MethodType |
LambdaForm.signatureType(String sig) |
(package private) static void |
LambdaForm.traceInterpreter(String event,
Object obj) |
(package private) static void |
LambdaForm.traceInterpreter(String event,
Object obj,
Object... args) |
private static BoundMethodHandle.SpeciesData |
BoundMethodHandle.SpeciesData.updateCache(String types,
BoundMethodHandle.SpeciesData d) |
| Constructor and Description |
|---|
BoundMethodHandle.SpeciesData(String types) |
BoundMethodHandle.SpeciesData(String types,
Class<? extends BoundMethodHandle> clazz) |
InvokerBytecodeGenerator.CpPatch(int index,
String placeholder,
Object value) |
InvokerBytecodeGenerator(LambdaForm lambdaForm,
int localsMapSize,
String className,
String invokerName,
MethodType invokerType) |
InvokerBytecodeGenerator(String className,
LambdaForm form,
MethodType invokerType) |
InvokerBytecodeGenerator(String className,
String invokerName,
MethodType invokerType) |
LambdaForm(String sig) |
LambdaForm(String debugName,
int arity,
LambdaForm.Name[] names) |
LambdaForm(String debugName,
int arity,
LambdaForm.Name[] names,
int result) |
LambdaForm(String debugName,
LambdaForm.Name[] formals,
LambdaForm.Name[] temps,
LambdaForm.Name result) |
MemberName(Class<?> defClass,
String name,
Class<?> type,
byte refKind)
Create a field or type name from the given components: Declaring class, name, type, reference kind.
|
MemberName(Class<?> defClass,
String name,
Class<?> type,
Void unused)
Create a field or type name from the given components: Declaring class, name, type.
|
MemberName(Class<?> defClass,
String name,
MethodType type,
byte refKind)
Create a method or constructor name from the given components: Declaring class, name, type, modifiers.
|
WrongMethodTypeException(String s)
Constructs a
WrongMethodTypeException with the specified
detail message. |
WrongMethodTypeException(String s,
Throwable cause)
Constructs a
WrongMethodTypeException with the specified
detail message and cause. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ManagementFactory.CLASS_LOADING_MXBEAN_NAME
String representation of the
ObjectName for the
ClassLoadingMXBean. |
private String |
LockInfo.className |
static String |
ManagementFactory.COMPILATION_MXBEAN_NAME
String representation of the
ObjectName for the
CompilationMXBean. |
private String |
MemoryType.description |
private String |
PlatformComponent.domain |
static String |
ManagementFactory.GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE
The domain name and the type key property in
the ObjectName for a
GarbageCollectorMXBean. |
private String |
ThreadInfo.lockName |
private String |
ThreadInfo.lockOwnerName |
static String |
MemoryNotificationInfo.MEMORY_COLLECTION_THRESHOLD_EXCEEDED
Notification type denoting that
the memory usage of a memory pool is greater than or equal to its
collection usage threshold after the Java virtual machine
has expended effort in recycling unused objects in that
memory pool.
|
static String |
ManagementFactory.MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE
The domain name and the type key property in
the ObjectName for a
MemoryManagerMXBean. |
static String |
ManagementFactory.MEMORY_MXBEAN_NAME
String representation of the
ObjectName for the
MemoryMXBean. |
static String |
ManagementFactory.MEMORY_POOL_MXBEAN_DOMAIN_TYPE
The domain name and the type key property in
the ObjectName for a
MemoryPoolMXBean. |
static String |
MemoryNotificationInfo.MEMORY_THRESHOLD_EXCEEDED
Notification type denoting that
the memory usage of a memory pool has
reached or exceeded its
usage threshold value.
|
private String |
PlatformComponent.mxbeanInterfaceName |
private static String |
ManagementFactory.NOTIF_EMITTER |
static String |
ManagementFactory.OPERATING_SYSTEM_MXBEAN_NAME
String representation of the
ObjectName for the
OperatingSystemMXBean. |
private String |
MemoryNotificationInfo.poolName |
static String |
ManagementFactory.RUNTIME_MXBEAN_NAME
String representation of the
ObjectName for the
RuntimeMXBean. |
static String |
ManagementFactory.THREAD_MXBEAN_NAME
String representation of the
ObjectName for the
ThreadMXBean. |
private String |
ThreadInfo.threadName |
private String |
PlatformComponent.type |
| Modifier and Type | Field and Description |
|---|---|
private static Set<String> |
PlatformComponent.defaultKeyProps |
private static Map<String,PlatformComponent> |
PlatformComponent.enumMap |
private Set<String> |
PlatformComponent.keyProperties |
| Modifier and Type | Method and Description |
|---|---|
String |
OperatingSystemMXBean.getArch()
Returns the operating system architecture.
|
String |
RuntimeMXBean.getBootClassPath()
Returns the boot class path that is used by the bootstrap class loader
to search for class files.
|
String |
LockInfo.getClassName()
Returns the fully qualified name of the class of the lock object.
|
String |
RuntimeMXBean.getClassPath()
Returns the Java class path that is used by the system class loader
to search for class files.
|
String |
RuntimeMXBean.getLibraryPath()
Returns the Java library path.
|
String |
ThreadInfo.getLockName()
Returns the
string representation
of an object for which the thread associated with this
ThreadInfo is blocked waiting. |
String |
ThreadInfo.getLockOwnerName()
Returns the name of the thread which owns the object
for which the thread associated with this ThreadInfo
is blocked waiting.
|
String |
PlatformLoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
RuntimeMXBean.getManagementSpecVersion()
Returns the version of the specification for the management interface
implemented by the running Java virtual machine.
|
String[] |
MemoryPoolMXBean.getMemoryManagerNames()
Returns the name of memory managers that manages this memory pool.
|
String[] |
MemoryManagerMXBean.getMemoryPoolNames()
Returns the name of memory pools that this memory manager manages.
|
(package private) String |
PlatformComponent.getMXBeanInterfaceName() |
String |
RuntimeMXBean.getName()
Returns the name representing the running Java virtual machine.
|
String |
OperatingSystemMXBean.getName()
Returns the operating system name.
|
String |
MemoryPoolMXBean.getName()
Returns the name representing this memory pool.
|
String |
MemoryManagerMXBean.getName()
Returns the name representing this memory manager.
|
String |
CompilationMXBean.getName()
Returns the name of the Just-in-time (JIT) compiler.
|
String |
BufferPoolMXBean.getName()
Returns the name representing this buffer pool.
|
String |
PlatformLoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the
parent
for the specified logger.
|
String |
MemoryNotificationInfo.getPoolName()
Returns the name of the memory pool that triggers this notification.
|
String |
RuntimeMXBean.getSpecName()
Returns the Java virtual machine specification name.
|
String |
RuntimeMXBean.getSpecVendor()
Returns the Java virtual machine specification vendor.
|
String |
RuntimeMXBean.getSpecVersion()
Returns the Java virtual machine specification version.
|
String |
ThreadInfo.getThreadName()
Returns the name of the thread associated with this ThreadInfo.
|
String |
OperatingSystemMXBean.getVersion()
Returns the operating system version.
|
String |
RuntimeMXBean.getVmName()
Returns the Java virtual machine implementation name.
|
String |
RuntimeMXBean.getVmVendor()
Returns the Java virtual machine implementation vendor.
|
String |
RuntimeMXBean.getVmVersion()
Returns the Java virtual machine implementation version.
|
String |
ThreadInfo.toString()
Returns a string representation of this thread info.
|
String |
MemoryUsage.toString()
Returns a descriptive representation of this memory usage.
|
String |
MemoryType.toString()
Returns the string representation of this MemoryType.
|
String |
LockInfo.toString()
Returns a string representation of a lock.
|
| Modifier and Type | Method and Description |
|---|---|
private static Set<String> |
PlatformComponent.defaultKeyProperties() |
List<String> |
RuntimeMXBean.getInputArguments()
Returns the input arguments passed to the Java virtual machine
which does not include the arguments to the main method.
|
List<String> |
PlatformLoggingMXBean.getLoggerNames()
Returns the list of the currently registered
logger names.
|
Map<String,String> |
RuntimeMXBean.getSystemProperties()
Returns a map of names and values of all system properties.
|
Map<String,String> |
RuntimeMXBean.getSystemProperties()
Returns a map of names and values of all system properties.
|
private static Set<String> |
PlatformComponent.keyProperties(String... keyNames) |
| Modifier and Type | Method and Description |
|---|---|
String |
PlatformLoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
PlatformLoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the
parent
for the specified logger.
|
(package private) static boolean |
PlatformComponent.isPlatformMXBean(String cn) |
private static Set<String> |
PlatformComponent.keyProperties(String... keyNames) |
static <T> T |
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection,
String mxbeanName,
Class<T> mxbeanInterface)
Returns a proxy for a platform MXBean interface of a
given MXBean name
that forwards its method calls through the given
MBeanServerConnection.
|
void |
PlatformLoggingMXBean.setLoggerLevel(String loggerName,
String levelName)
Sets the specified logger to the specified new
level.
|
static PlatformComponent |
PlatformComponent.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryType |
MemoryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
LockInfo(String className,
int identityHashCode)
Constructs a LockInfo object.
|
ManagementPermission(String name)
Constructs a ManagementPermission with the specified name.
|
ManagementPermission(String name,
String actions)
Constructs a new ManagementPermission object.
|
MemoryNotificationInfo(String poolName,
MemoryUsage usage,
long count)
Constructs a MemoryNotificationInfo object.
|
MemoryType(String s) |
MonitorInfo(String className,
int identityHashCode,
int stackDepth,
StackTraceElement stackFrame)
Construct a MonitorInfo object.
|
PlatformComponent(String intfName,
String domain,
String type,
Set<String> keyProperties,
boolean singleton,
PlatformComponent.MXBeanFetcher fetcher,
PlatformComponent... subComponents) |
| Constructor and Description |
|---|
PlatformComponent(String intfName,
String domain,
String type,
Set<String> keyProperties,
boolean singleton,
PlatformComponent.MXBeanFetcher fetcher,
PlatformComponent... subComponents) |
| Constructor and Description |
|---|
Reference.ReferenceHandler(ThreadGroup g,
String name) |
| Modifier and Type | Field and Description |
|---|---|
private String |
Method.name |
private String |
Field.name |
private static String |
Proxy.ProxyClassFactory.proxyClassNamePrefix |
private String |
Method.signature |
private String |
Field.signature |
private String |
Constructor.signature |
| Modifier and Type | Method and Description |
|---|---|
String |
ReflectAccess.getConstructorSignature(Constructor<?> c) |
private String |
Method.getGenericSignature() |
private String |
Field.getGenericSignature() |
String |
TypeVariable.getName()
Returns the name of this type variable, as it occurs in the source code.
|
String |
Method.getName()
Returns the name of the method represented by this
Method
object, as a String. |
String |
Member.getName()
Returns the simple name of the underlying member or constructor
represented by this Member.
|
String |
Field.getName()
Returns the name of the field represented by this
Field object. |
String |
Constructor.getName()
Returns the name of this constructor, as a string.
|
(package private) String |
Constructor.getSignature() |
(package private) static String |
Field.getTypeName(Class<?> type) |
String |
Method.toGenericString()
Returns a string describing this
Method, including
type parameters. |
String |
Field.toGenericString()
Returns a string describing this
Field, including
its generic type. |
String |
Constructor.toGenericString()
Returns a string describing this
Constructor,
including type parameters. |
String |
Method.toString()
Returns a string describing this
Method. |
String |
Field.toString()
Returns a string describing this
Field. |
String |
Constructor.toString()
Returns a string describing this
Constructor. |
static String |
Modifier.toString(int mod)
Return a string describing the access modifier flags in
the specified modifier.
|
| Modifier and Type | Method and Description |
|---|---|
private static Class |
Proxy.defineClass0(ClassLoader loader,
String name,
byte[] b,
int off,
int len) |
private static boolean |
Proxy.ProxyAccessHelper.getBooleanProperty(String key) |
<T> Constructor<T> |
ReflectAccess.newConstructor(Class<T> declaringClass,
Class<?>[] parameterTypes,
Class<?>[] checkedExceptions,
int modifiers,
int slot,
String signature,
byte[] annotations,
byte[] parameterAnnotations) |
Field |
ReflectAccess.newField(Class<?> declaringClass,
String name,
Class<?> type,
int modifiers,
int slot,
String signature,
byte[] annotations) |
Method |
ReflectAccess.newMethod(Class<?> declaringClass,
String name,
Class<?>[] parameterTypes,
Class<?> returnType,
Class<?>[] checkedExceptions,
int modifiers,
int slot,
String signature,
byte[] annotations,
byte[] parameterAnnotations,
byte[] annotationDefault) |
| Constructor and Description |
|---|
Constructor(Class<T> declaringClass,
Class<?>[] parameterTypes,
Class<?>[] checkedExceptions,
int modifiers,
int slot,
String signature,
byte[] annotations,
byte[] parameterAnnotations)
Package-private constructor used by ReflectAccess to enable
instantiation of these objects in Java code from the java.lang
package via sun.reflect.LangReflectAccess.
|
Field(Class<?> declaringClass,
String name,
Class<?> type,
int modifiers,
int slot,
String signature,
byte[] annotations)
Package-private constructor used by ReflectAccess to enable
instantiation of these objects in Java code from the java.lang
package via sun.reflect.LangReflectAccess.
|
InvocationTargetException(Throwable target,
String s)
Constructs a InvocationTargetException with a target exception
and a detail message.
|
Method(Class<?> declaringClass,
String name,
Class<?>[] parameterTypes,
Class<?> returnType,
Class<?>[] checkedExceptions,
int modifiers,
int slot,
String signature,
byte[] annotations,
byte[] parameterAnnotations,
byte[] annotationDefault)
Package-private constructor used by ReflectAccess to enable
instantiation of these objects in Java code from the java.lang
package via sun.reflect.LangReflectAccess.
|
ReflectPermission(String name)
Constructs a ReflectPermission with the specified name.
|
ReflectPermission(String name,
String actions)
Constructs a ReflectPermission with the specified name and actions.
|
UndeclaredThrowableException(Throwable undeclaredThrowable,
String s)
Constructs an
UndeclaredThrowableException with the
specified Throwable and a detail message. |
| Modifier and Type | Field and Description |
|---|---|
private String |
BigDecimal.stringCache
Used to store the canonical string representation, if computed.
|
private static String[] |
BigInteger.zeros |
| Modifier and Type | Method and Description |
|---|---|
private String |
BigDecimal.getValueString(int signum,
String intString,
int scale) |
private String |
BigDecimal.layoutChars(boolean sci)
Lay out this
BigDecimal into a char[] array. |
String |
BigDecimal.toEngineeringString()
Returns a string representation of this
BigDecimal,
using engineering notation if an exponent is needed. |
String |
BigDecimal.toPlainString()
Returns a string representation of this
BigDecimal
without an exponent field. |
String |
SignedMutableBigInteger.toString()
Print out the first intLen ints of this MutableBigInteger's value
array starting at offset.
|
String |
MutableBigInteger.toString()
Returns a String representation of this MutableBigInteger in radix 10.
|
String |
MathContext.toString()
Returns the string representation of this
MathContext. |
String |
BigInteger.toString()
Returns the decimal String representation of this BigInteger.
|
String |
BigDecimal.toString()
Returns the string representation of this
BigDecimal,
using scientific notation if an exponent is needed. |
String |
BigInteger.toString(int radix)
Returns the String representation of this BigInteger in the
given radix.
|
| Modifier and Type | Method and Description |
|---|---|
private String |
BigDecimal.getValueString(int signum,
String intString,
int scale) |
private static void |
BigDecimal.print(String name,
BigDecimal bd) |
static RoundingMode |
RoundingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
BigDecimal(String val)
Translates the string representation of a
BigDecimal
into a BigDecimal. |
BigDecimal(String val,
MathContext mc)
Translates the string representation of a
BigDecimal
into a BigDecimal, accepting the same strings as the
BigDecimal.BigDecimal(String) constructor, with rounding
according to the context settings. |
BigInteger(String val)
Translates the decimal String representation of a BigInteger into a
BigInteger.
|
BigInteger(String val,
int radix)
Translates the String representation of a BigInteger in the
specified radix into a BigInteger.
|
MathContext(String val)
Constructs a new
MathContext from a string. |
| Modifier and Type | Field and Description |
|---|---|
private static String |
IDN.ACE_PREFIX |
private String |
SocketPermission.actions
the actions string.
|
private String |
URL.authority
The authority part of this URL.
|
private String |
URI.authority |
private String |
InetAddress.canonicalHostName |
private String |
SocketPermission.cdomain |
private String |
SocketPermission.cname |
private String |
HttpCookie.comment |
private String |
HttpCookie.commentURL |
private static String |
URLConnection.contentClassPrefix |
private static String |
URLConnection.contentPathProp |
private static String[] |
HttpCookie.COOKIE_DATE_FORMATS |
private String |
URI.decodedAuthority |
private String |
URI.decodedFragment |
private String |
URI.decodedPath |
private String |
URI.decodedQuery |
private String |
URI.decodedSchemeSpecificPart |
private String |
URI.decodedUserInfo |
(package private) static String |
URLEncoder.dfltEncName |
(package private) static String |
URLDecoder.dfltEncName |
private String |
NetworkInterface.displayName |
private String |
HttpCookie.domain |
private static String |
URL.ENABLE_GOPHER_PROP |
private String |
JarURLConnection.entryName |
private String |
URL.file
The specified file name on that host.
|
private String |
URI.fragment |
private static String |
URL.GOPHER |
private String |
SocketPermission.hdomain |
private String |
HttpCookie.header |
private String |
URL.host
The host name to connect to.
|
private String |
URI.host |
private String |
SocketPermission.hostname |
private String |
InetSocketAddress.InetSocketAddressHolder.hostname |
(package private) String |
InetAddress.InetAddressHolder.hostName |
private String |
URISyntaxException.input |
private String |
URI.Parser.input |
private static String |
URL.JDK_PACKAGE_PREFIX |
private String |
HttpRetryException.location |
protected String |
HttpURLConnection.method
The HTTP method (GET,POST,PUT,etc.).
|
private static String[] |
HttpURLConnection.methods |
private String |
StandardSocketOptions.StdSocketOption.name |
private String |
NetworkInterface.name |
private String |
HttpCookie.name |
private static String |
AbstractPlainDatagramSocketImpl.os |
private String |
URL.path
The path part of this URL.
|
private String |
URI.path |
(package private) String |
Parts.path |
private String |
HttpCookie.path |
private String |
HttpCookie.portlist |
private String |
URL.protocol
The protocol to use (ftp, http, nntp, ...
|
private static String |
URL.protocolPathProp
The property which specifies the package prefix list to be scanned
for protocol handlers.
|
private String |
URL.query
The query part of this URL.
|
private String |
URI.query |
(package private) String |
Parts.query |
private String |
URL.ref
# reference.
|
(package private) String |
Parts.ref |
private String |
Authenticator.requestingHost |
private String |
Authenticator.requestingPrompt |
private String |
Authenticator.requestingProtocol |
private String |
Authenticator.requestingScheme |
protected String |
HttpURLConnection.responseMessage
The HTTP response message.
|
private String |
URI.scheme |
private String |
URI.schemeSpecificPart |
private String |
SocksSocketImpl.server |
private static String |
HttpCookie.SET_COOKIE |
private static String |
HttpCookie.SET_COOKIE2 |
private String |
URI.string
The string form of this URI.
|
private static String |
HttpCookie.tspecials |
private String |
URL.userInfo
The userinfo part of this URL.
|
private String |
URI.userInfo |
private String |
PasswordAuthentication.userName |
private String |
HttpCookie.value |
| Modifier and Type | Field and Description |
|---|---|
(package private) static Map<String,HttpCookie.CookieAttributeAssignor> |
HttpCookie.assignors |
private LinkedHashMap<String,InetAddress.CacheEntry> |
InetAddress.Cache.cache |
private Map<String,List<HttpCookie>> |
InMemoryCookieStore.domainIndex |
private static HashMap<String,Void> |
InetAddress.lookupTable |
| Modifier and Type | Method and Description |
|---|---|
private static String |
InetSocketAddress.checkHost(String hostname) |
static String |
URLDecoder.decode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the decode(String,String) method
to specify the encoding.
|
private static String |
URI.decode(String s) |
static String |
URLDecoder.decode(String s,
String enc)
Decodes a
application/x-www-form-urlencoded string using a specific
encoding scheme. |
static String |
URLEncoder.encode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
|
private static String |
URI.encode(String s) |
static String |
URLEncoder.encode(String s,
String enc)
Translates a string into
application/x-www-form-urlencoded
format using a specific encoding scheme. |
String |
SocketPermission.getActions()
Returns the canonical string representation of the actions.
|
private static String |
SocketPermission.getActions(int mask)
Returns the "canonical string representation" of the actions in the
specified mask.
|
String |
URL.getAuthority()
Gets the authority part of this
URL. |
String |
URI.getAuthority()
Returns the decoded authority component of this URI.
|
String |
InetAddress.getCanonicalHostName()
Gets the fully qualified domain name for this IP address.
|
abstract String |
SecureCacheResponse.getCipherSuite()
Returns the cipher suite in use on the original connection that
retrieved the network resource.
|
String |
HttpCookie.getComment()
Returns the comment describing the purpose of this cookie, or
null if the cookie has no comment. |
String |
HttpCookie.getCommentURL()
Returns the comment url describing the purpose of this cookie, or
null if the cookie has no comment url. |
String |
URLConnection.getContentEncoding()
Returns the value of the
content-encoding header field. |
private String |
URLConnection.getContentHandlerPkgPrefixes()
Returns a vertical bar separated list of package prefixes for potential
content handlers.
|
String |
URLConnection.getContentType()
Returns the value of the
content-type header field. |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name.
|
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated.
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
String |
NetworkInterface.getDisplayName()
Get the display name of this network interface.
|
String |
HttpCookie.getDomain()
Returns the domain name set for this cookie.
|
String |
JarURLConnection.getEntryName()
Return the entry name for this connection.
|
String |
URL.getFile()
Gets the file name of this
URL. |
String |
URI.getFragment()
Returns the decoded fragment component of this URI.
|
String |
URLConnection.getHeaderField(int n)
Returns the value for the
nth header field. |
String |
HttpURLConnection.getHeaderField(int n)
Returns the value for the
nth header field. |
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
String |
URLConnection.getHeaderFieldKey(int n)
Returns the key for the
nth header field. |
String |
HttpURLConnection.getHeaderFieldKey(int n)
Returns the key for the
nth header field. |
String |
URL.getHost()
Gets the host name of this
URL, if applicable. |
String |
URI.getHost()
Returns the host component of this URI.
|
private static String |
SocketPermission.getHost(String host) |
String |
InetAddress.getHostAddress()
Returns the IP address string in textual presentation.
|
String |
Inet6Address.getHostAddress()
Returns the IP address string in textual presentation.
|
(package private) String |
Inet6Address.Inet6AddressHolder.getHostAddress() |
String |
Inet4Address.getHostAddress()
Returns the IP address string in textual presentation form.
|
String |
InetAddressImpl.getHostByAddr(byte[] addr) |
String |
Inet6AddressImpl.getHostByAddr(byte[] addr) |
String |
Inet4AddressImpl.getHostByAddr(byte[] addr) |
private static String |
InetAddress.getHostFromNameService(InetAddress addr,
boolean check)
Returns the hostname for this address.
|
String |
InetSocketAddress.getHostName()
Gets the
hostname. |
private String |
InetSocketAddress.InetSocketAddressHolder.getHostName() |
String |
InetAddress.getHostName()
Gets the host name for this IP address.
|
(package private) String |
InetAddress.InetAddressHolder.getHostName() |
(package private) String |
InetAddress.getHostName(boolean check)
Returns the hostname for this address.
|
String |
InetSocketAddress.getHostString()
Returns the hostname, or the String form of the address if it
doesn't have a hostname (it was created using a literal).
|
private String |
InetSocketAddress.InetSocketAddressHolder.getHostString() |
String |
URISyntaxException.getInput()
Returns the input string.
|
String |
InetAddressImpl.getLocalHostName() |
String |
Inet6AddressImpl.getLocalHostName() |
String |
Inet4AddressImpl.getLocalHostName() |
String |
HttpRetryException.getLocation()
Returns the value of the Location header field if the
error resulted from redirection.
|
String |
URISyntaxException.getMessage()
Returns a string describing the parse error.
|
String |
NetworkInterface.getName()
Get the name of this network interface.
|
String |
HttpCookie.getName()
Returns the name of the cookie.
|
String |
URL.getPath()
Gets the path part of this
URL. |
String |
URI.getPath()
Returns the decoded path component of this URI.
|
(package private) String |
Parts.getPath() |
String |
HttpCookie.getPath()
Returns the path on the server
to which the browser returns this cookie.
|
String |
HttpCookie.getPortlist()
Return the port list attribute of the cookie
|
String |
URL.getProtocol()
Gets the protocol name of this
URL. |
String |
URL.getQuery()
Gets the query part of this
URL. |
String |
URI.getQuery()
Returns the decoded query component of this URI.
|
(package private) String |
Parts.getQuery() |
String |
URI.getRawAuthority()
Returns the raw authority component of this URI.
|
String |
URI.getRawFragment()
Returns the raw fragment component of this URI.
|
String |
URI.getRawPath()
Returns the raw path component of this URI.
|
String |
URI.getRawQuery()
Returns the raw query component of this URI.
|
String |
URI.getRawSchemeSpecificPart()
Returns the raw scheme-specific part of this URI.
|
String |
URI.getRawUserInfo()
Returns the raw user-information component of this URI.
|
String |
URISyntaxException.getReason()
Returns a string explaining why the input string could not be parsed.
|
String |
HttpRetryException.getReason()
Returns a string explaining why the http request could
not be retried.
|
String |
URL.getRef()
Gets the anchor (also known as the "reference") of this
URL. |
(package private) String |
Parts.getRef() |
protected String |
Authenticator.getRequestingHost()
Gets the
hostname of the
site or proxy requesting authentication, or null
if not available. |
protected String |
Authenticator.getRequestingPrompt()
Gets the prompt string given by the requestor.
|
protected String |
Authenticator.getRequestingProtocol()
Give the protocol that's requesting the connection.
|
protected String |
Authenticator.getRequestingScheme()
Gets the scheme of the requestor (the HTTP scheme
for an HTTP firewall, for example).
|
String |
HttpURLConnection.getRequestMethod()
Get the request method.
|
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
String |
HttpURLConnection.getResponseMessage()
Gets the HTTP response message, if any, returned along with the
response code from a server.
|
String |
URI.getScheme()
Returns the scheme component of this URI.
|
String |
URI.getSchemeSpecificPart()
Returns the decoded scheme-specific part of this URI.
|
String |
URL.getUserInfo()
Gets the userInfo part of this
URL. |
String |
URI.getUserInfo()
Returns the decoded user-information component of this URI.
|
private String |
SocksSocketImpl.getUserName() |
String |
PasswordAuthentication.getUserName()
Returns the user name.
|
String |
HttpCookie.getValue()
Returns the value of the cookie.
|
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based
on the specified "file" component of a URL.
|
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Tries to determine the type of an input stream based on the
characters at the beginning of the input stream.
|
private String |
HttpCookie.header() |
String |
StandardSocketOptions.StdSocketOption.name() |
String |
SocketOption.name()
Returns the name of the socket option.
|
String |
ProtocolFamily.name()
Returns the name of the protocol family.
|
private static String |
URI.normalize(String ps) |
(package private) static String |
Inet6Address.numericToTextFormat(byte[] src) |
(package private) static String |
Inet4Address.numericToTextFormat(byte[] src) |
private static String |
URI.quote(String s,
long lowMask,
long highMask) |
private static String |
URI.resolvePath(String base,
String child,
boolean absolute) |
private String |
URLConnection.stripOffParameters(String contentType) |
private static String |
HttpCookie.stripOffSurroundingQuote(String str) |
private String |
URI.Parser.substring(int start,
int end) |
static String |
IDN.toASCII(String input)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
static String |
IDN.toASCII(String input,
int flag)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
private static String |
IDN.toASCIIInternal(String label,
int flag) |
String |
URI.toASCIIString()
Returns the content of this URI as a US-ASCII string.
|
String |
URL.toExternalForm()
Constructs a string representation of this
URL. |
protected String |
URLStreamHandler.toExternalForm(URL u)
Converts a
URL of a specific protocol to a
String. |
private String |
HttpCookie.toNetscapeHeaderString() |
private String |
HttpCookie.toRFC2965HeaderString() |
String |
URLConnection.toString()
Returns a
String representation of this URL connection. |
String |
URL.toString()
Constructs a string representation of this
URL. |
String |
URI.toString()
Returns the content of this URI as a string.
|
String |
StandardSocketOptions.StdSocketOption.toString() |
String |
SocketImpl.toString()
Returns the address and port of this socket as a
String. |
String |
Socket.toString()
Converts this socket to a
String. |
String |
ServerSocket.toString()
Returns the implementation address and implementation port of
this socket as a
String. |
String |
Proxy.toString()
Constructs a string representation of this Proxy.
|
String |
NetworkInterface.toString() |
String |
InterfaceAddress.toString()
Converts this Interface address to a
String. |
String |
InetSocketAddress.toString()
Constructs a string representation of this InetSocketAddress.
|
String |
InetSocketAddress.InetSocketAddressHolder.toString() |
String |
InetAddress.toString()
Converts this IP address to a
String. |
String |
HttpCookie.toString()
Constructs a cookie header string representation of this cookie,
which is in the format defined by corresponding cookie specification,
but without the leading "Cookie:" token.
|
private String |
URI.toString(String scheme,
String opaquePart,
String authority,
String userInfo,
String host,
int port,
String path,
String query,
String fragment) |
static String |
IDN.toUnicode(String input)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
static String |
IDN.toUnicode(String input,
int flag)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
private static String |
IDN.toUnicodeInternal(String label,
int flag) |
private String |
URLConnection.typeToPackageName(String contentType)
Utility function to map a MIME content type into an equivalent
pair of class name components.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
Map<String,List<String>> |
URLConnection.getHeaderFields()
Returns an unmodifiable Map of the header fields.
|
Map<String,List<String>> |
URLConnection.getHeaderFields()
Returns an unmodifiable Map of the header fields.
|
abstract Map<String,List<String>> |
CacheResponse.getHeaders()
Returns the response headers as a Map.
|
abstract Map<String,List<String>> |
CacheResponse.getHeaders()
Returns the response headers as a Map.
|
Map<String,List<String>> |
URLConnection.getRequestProperties()
Returns an unmodifiable Map of general request
properties for this connection.
|
Map<String,List<String>> |
URLConnection.getRequestProperties()
Returns an unmodifiable Map of general request
properties for this connection.
|
private List<String> |
CookieManager.sortByPath(List<HttpCookie> cookies) |
private static List<String> |
HttpCookie.splitMultiCookies(String header) |
| Modifier and Type | Method and Description |
|---|---|
void |
URLConnection.addRequestProperty(String key,
String value)
Adds a general request property specified by a
key-value pair.
|
private void |
URI.appendAuthority(StringBuffer sb,
String authority,
String userInfo,
String host,
int port) |
private void |
URI.appendFragment(StringBuffer sb,
String fragment) |
private void |
URI.appendSchemeSpecificPart(StringBuffer sb,
String opaquePart,
String authority,
String userInfo,
String host,
int port,
String path,
String query) |
void |
HttpCookie.CookieAttributeAssignor.assign(HttpCookie cookie,
String attrName,
String attrValue) |
private static void |
HttpCookie.assignAttribute(HttpCookie cookie,
String attrName,
String attrValue) |
private boolean |
URI.Parser.at(int start,
int end,
String s) |
private boolean |
SocketPermission.authorized(String cname,
byte[] addr) |
private boolean |
SocketPermission.authorizedIPv4(String cname,
byte[] addr) |
private boolean |
SocketPermission.authorizedIPv6(String cname,
byte[] addr) |
private static void |
InetAddress.cacheAddresses(String hostname,
InetAddress[] addresses,
boolean success) |
private void |
Socket.checkAddress(InetAddress addr,
String op) |
(package private) void |
DatagramSocket.checkAddress(InetAddress addr,
String op) |
private void |
URI.Parser.checkChar(int p,
long lowMask,
long highMask,
String what) |
private void |
URI.Parser.checkChars(int start,
int end,
long lowMask,
long highMask,
String what) |
private static String |
InetSocketAddress.checkHost(String hostname) |
private static InetAddress[] |
InetAddress.checkLookupTable(String host) |
private static int |
InetAddress.checkNumericZone(String s)
check if the literal address string has %nn appended
returns -1 if not, or the numeric value otherwise.
|
private static void |
URI.checkPath(String s,
String scheme,
String path) |
private static int |
URI.compare(String s,
String t) |
private static int |
URI.compareIgnoringCase(String s,
String t) |
protected abstract void |
SocketImpl.connect(String host,
int port)
Connects this socket to the specified port on the named host.
|
protected void |
AbstractPlainSocketImpl.connect(String host,
int port)
Creates a socket and connects it to the specified port on
the specified host.
|
static URI |
URI.create(String str)
Creates a URI by parsing the given string.
|
ContentHandler |
ContentHandlerFactory.createContentHandler(String mimetype)
Creates a new
ContentHandler to read an object from
a URLStreamHandler. |
private static sun.net.spi.nameservice.NameService |
InetAddress.createNSProvider(String provider) |
static InetSocketAddress |
InetSocketAddress.createUnresolved(String host,
int port)
Creates an unresolved socket address from a hostname and a port number.
|
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol)
Creates a new
URLStreamHandler instance with the specified
protocol. |
static String |
URLDecoder.decode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the decode(String,String) method
to specify the encoding.
|
private static String |
URI.decode(String s) |
static String |
URLDecoder.decode(String s,
String enc)
Decodes a
application/x-www-form-urlencoded string using a specific
encoding scheme. |
private Class |
URLClassLoader.defineClass(String name,
sun.misc.Resource res) |
protected Package |
URLClassLoader.definePackage(String name,
Manifest man,
URL url)
Defines a new package by name in this ClassLoader.
|
private int |
Inet6Address.deriveNumericScope(String ifname) |
static boolean |
HttpCookie.domainMatches(String domain,
String host)
The utility method to check whether a host name is in a domain
or not.
|
static String |
URLEncoder.encode(String s)
Deprecated.
The resulting string may vary depending on the platform's
default encoding. Instead, use the encode(String,String)
method to specify the encoding.
|
private static String |
URI.encode(String s) |
static String |
URLEncoder.encode(String s,
String enc)
Translates a string into
application/x-www-form-urlencoded
format using a specific encoding scheme. |
private static boolean |
URI.equal(String s,
String t) |
private static boolean |
URI.equalIgnoringCase(String s,
String t) |
private static boolean |
HttpCookie.equalsIgnoreCase(String s,
String t) |
private long |
HttpCookie.expiryDate2DeltaSeconds(String dateString) |
private void |
URI.Parser.fail(String reason) |
private void |
URI.Parser.fail(String reason,
int p) |
private void |
URI.Parser.failExpecting(String expected,
int p) |
private void |
URI.Parser.failExpecting(String expected,
String prior,
int p) |
protected Class<?> |
URLClassLoader.findClass(String name)
Finds and loads the class with the specified name from the URL search
path.
|
URL |
URLClassLoader.findResource(String name)
Finds the resource with the specified name on the URL search path.
|
Enumeration<URL> |
URLClassLoader.findResources(String name)
Returns an Enumeration of URLs representing all of the resources
on the URL search path having the specified name.
|
InetAddress.CacheEntry |
InetAddress.Cache.get(String host)
Query the cache for the specific host.
|
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Retrieve the cached response based on the requesting uri,
request method and request headers.
|
private static InetAddress[] |
InetAddress.getAddressesFromNameService(String host,
InetAddress reqAddr) |
static InetAddress[] |
InetAddress.getAllByName(String host)
Given the name of a host, returns an array of its IP addresses,
based on the configured name service on the system.
|
private static InetAddress[] |
InetAddress.getAllByName(String host,
InetAddress reqAddr) |
private static InetAddress[] |
InetAddress.getAllByName0(String host) |
(package private) static InetAddress[] |
InetAddress.getAllByName0(String host,
boolean check)
package private so SocketPermission can call it
|
private static InetAddress[] |
InetAddress.getAllByName0(String host,
InetAddress reqAddr,
boolean check) |
private Package |
URLClassLoader.getAndVerifyPackage(String pkgname,
Manifest man,
URL url) |
static InetAddress |
InetAddress.getByAddress(String host,
byte[] addr)
Creates an InetAddress based on the provided host name and IP address.
|
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
int scope_id)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[])
except that the IPv6 scope_id is set to the given numeric value. |
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
NetworkInterface nif)
Create an Inet6Address in the exact manner of
InetAddress.getByAddress(String,byte[])
except that the IPv6 scope_id is set to the value corresponding to the given interface
for the address type specified in addr. |
static NetworkInterface |
NetworkInterface.getByName(String name)
Searches for the network interface with the specified name.
|
static InetAddress |
InetAddress.getByName(String host)
Determines the IP address of a host, given the host's name.
|
private static InetAddress |
InetAddress.getByName(String host,
InetAddress reqAddr) |
private static NetworkInterface |
NetworkInterface.getByName0(String name) |
private static InetAddress[] |
InetAddress.getCachedAddresses(String hostname) |
String |
FileNameMap.getContentTypeFor(String fileName)
Gets the MIME type for the specified file name.
|
static String |
URLConnection.getDefaultRequestProperty(String key)
Deprecated.
The instance specific getRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained.
|
String |
URLConnection.getHeaderField(String name)
Returns the value of the named header field.
|
long |
URLConnection.getHeaderFieldDate(String name,
long Default)
Returns the value of the named field parsed as date.
|
long |
HttpURLConnection.getHeaderFieldDate(String name,
long Default) |
int |
URLConnection.getHeaderFieldInt(String name,
int Default)
Returns the value of the named field parsed as a number.
|
long |
URLConnection.getHeaderFieldLong(String name,
long Default)
Returns the value of the named field parsed as a number.
|
private static String |
SocketPermission.getHost(String host) |
private void |
InMemoryCookieStore.getInternal1(List<HttpCookie> cookies,
Map<String,List<HttpCookie>> cookieIndex,
String host,
boolean secureLink) |
private static byte[] |
NetworkInterface.getMacAddr0(byte[] inAddr,
String name,
int ind) |
private static int |
SocketPermission.getMask(String action)
Convert an action string to an integer actions mask.
|
private static int |
NetworkInterface.getMTU0(String name,
int ind) |
String |
URLConnection.getRequestProperty(String key)
Returns the value of the named general request property for this
connection.
|
InputStream |
URLClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
(package private) static URLStreamHandler |
URL.getURLStreamHandler(String protocol)
Returns the Stream Handler.
|
static String |
URLConnection.guessContentTypeFromName(String fname)
Tries to determine the content type of an object, based
on the specified "file" component of a URL.
|
private static int |
HttpCookie.guessCookieVersion(String header) |
private static int |
URI.hash(int hash,
String s) |
private static int |
URI.hashIgnoringCase(int hash,
String s) |
private static long |
URI.highMask(String chars) |
private void |
SocketPermission.init(String host,
int mask)
Initialize the SocketPermission object.
|
(package private) void |
InetAddress.InetAddressHolder.init(String hostName,
int family) |
private static int |
SocketPermission.initEphemeralPorts(String suffix,
int defval)
Check the system/security property for the ephemeral port range
for this system.
|
private void |
Inet6Address.initif(String hostName,
byte[] addr,
NetworkInterface nif) |
private void |
Inet6Address.initstr(String hostName,
byte[] addr,
String ifname) |
private static boolean |
IDN.isAllASCII(String input) |
private static boolean |
CookieManager.isInPortList(String lst,
int port) |
private static boolean |
NetworkInterface.isLoopback0(String name,
int ind) |
private static boolean |
NetworkInterface.isP2P0(String name,
int ind) |
private boolean |
URLClassLoader.isSealed(String name,
Manifest man) |
private static boolean |
HttpCookie.isToken(String value) |
private static boolean |
NetworkInterface.isUp0(String name,
int ind) |
private boolean |
URL.isValidProtocol(String protocol) |
Class |
FactoryURLClassLoader.loadClass(String name,
boolean resolve) |
(package private) static InetAddressImpl |
InetAddress.loadImpl(String implName) |
InetAddress[] |
InetAddressImpl.lookupAllHostAddr(String hostname) |
InetAddress[] |
Inet6AddressImpl.lookupAllHostAddr(String hostname) |
InetAddress[] |
Inet4AddressImpl.lookupAllHostAddr(String hostname) |
private ContentHandler |
URLConnection.lookupContentHandlerClassFor(String contentType)
Looks for a content handler in a user-defineable set of places.
|
private static long |
URI.lowMask(String chars) |
private boolean |
SocketPermission.match(String cname,
String hname) |
private static int |
URI.needsNormalization(String path) |
private boolean |
InMemoryCookieStore.netscapeDomainMatches(String domain,
String host) |
private static String |
URI.normalize(String ps) |
static List<HttpCookie> |
HttpCookie.parse(String header)
Constructs cookies from set-cookie or set-cookie2 header string.
|
private static List<HttpCookie> |
HttpCookie.parse(String header,
boolean retainHeader) |
private static HttpCookie |
HttpCookie.parseInternal(String header,
boolean retainHeader) |
private int[] |
SocketPermission.parsePort(String port) |
protected void |
URLStreamHandler.parseURL(URL u,
String spec,
int start,
int limit)
Parses the string representation of a
URL into a
URL object. |
private boolean |
CookieManager.pathMatches(String path,
String pathToMatchWith) |
private void |
SocksSocketImpl.privilegedConnect(String host,
int port,
int timeout) |
InetAddress.Cache |
InetAddress.Cache.put(String host,
InetAddress[] addresses)
Add an entry to the cache.
|
private static String |
URI.quote(String s,
long lowMask,
long highMask) |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
Ask the authenticator that has been registered with the system
for a password.
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host,
InetAddress addr,
int port,
String protocol,
String prompt,
String scheme)
Ask the authenticator that has been registered with the system
for a password.
|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host,
InetAddress addr,
int port,
String protocol,
String prompt,
String scheme,
URL url,
Authenticator.RequestorType reqType)
Ask the authenticator that has been registered with the system
for a password.
|
URI |
URI.resolve(String str)
Constructs a new URI by parsing the given string and then resolving it
against this URI.
|
private static String |
URI.resolvePath(String base,
String child,
boolean absolute) |
private int |
URI.Parser.scan(int start,
int end,
String err,
String stop) |
private static int |
IDN.searchDots(String s,
int start) |
protected void |
URL.set(String protocol,
String host,
int port,
String file,
String ref)
Sets the fields of the URL.
|
protected void |
URL.set(String protocol,
String host,
int port,
String authority,
String userInfo,
String path,
String query,
String ref)
Sets the specified 8 fields of the URL.
|
void |
HttpCookie.setComment(String purpose)
Specifies a comment that describes a cookie's purpose.
|
void |
HttpCookie.setCommentURL(String purpose)
Specifies a comment url that describes a cookie's purpose.
|
static void |
URLConnection.setDefaultRequestProperty(String key,
String value)
Deprecated.
The instance specific setRequestProperty method
should be used after an appropriate instance of URLConnection
is obtained. Invoking this method will have no effect.
|
void |
HttpCookie.setDomain(String pattern)
Specifies the domain within which this cookie should be presented.
|
void |
HttpCookie.setPath(String uri)
Specifies a path for the cookie
to which the client should return the cookie.
|
void |
HttpCookie.setPortlist(String ports)
Specify the portlist of the cookie, which restricts the port(s)
to which a cookie may be sent back in a Cookie header.
|
void |
HttpURLConnection.setRequestMethod(String method)
Set the method for the URL request, one of:
GET
POST
HEAD
OPTIONS
PUT
DELETE
TRACE
are legal, subject to protocol restrictions.
|
void |
URLConnection.setRequestProperty(String key,
String value)
Sets the general request property.
|
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String file,
String ref)
Deprecated.
Use setURL(URL, String, String, int, String, String, String,
String);
|
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String authority,
String userInfo,
String path,
String query,
String ref)
Sets the fields of the
URL argument to the indicated values. |
void |
HttpCookie.setValue(String newValue)
Assigns a new value to a cookie after the cookie is created.
|
private static List<String> |
HttpCookie.splitMultiCookies(String header) |
private static boolean |
HttpCookie.startsWithIgnoreCase(String s,
String start) |
private String |
URLConnection.stripOffParameters(String contentType) |
private static String |
HttpCookie.stripOffSurroundingQuote(String str) |
private void |
SocksSocketImpl.superConnectServer(String host,
int port,
int timeout) |
private static boolean |
NetworkInterface.supportsMulticast0(String name,
int ind) |
private int |
URI.Parser.takeIPv4Address(int start,
int n,
String expected) |
static String |
IDN.toASCII(String input)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
static String |
IDN.toASCII(String input,
int flag)
Translates a string from Unicode to ASCII Compatible Encoding (ACE),
as defined by the ToASCII operation of RFC 3490.
|
private static String |
IDN.toASCIIInternal(String label,
int flag) |
private String |
URI.toString(String scheme,
String opaquePart,
String authority,
String userInfo,
String host,
int port,
String path,
String query,
String fragment) |
static String |
IDN.toUnicode(String input)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
static String |
IDN.toUnicode(String input,
int flag)
Translates a string from ASCII Compatible Encoding (ACE) to Unicode,
as defined by the ToUnicode operation of RFC 3490.
|
private static String |
IDN.toUnicodeInternal(String label,
int flag) |
private String |
URLConnection.typeToPackageName(String contentType)
Utility function to map a MIME content type into an equivalent
pair of class name components.
|
private static void |
InetAddress.updateLookupTable(String host) |
static StandardProtocolFamily |
StandardProtocolFamily.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Proxy.Type |
Proxy.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InetAddress.Cache.Type |
InetAddress.Cache.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Authenticator.RequestorType |
Authenticator.RequestorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
Map<String,List<String>> |
CookieManager.get(URI uri,
Map<String,List<String>> requestHeaders) |
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all the applicable cookies from a cookie cache for the
specified uri in the request header.
|
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Retrieve the cached response based on the requesting uri,
request method and request headers.
|
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Retrieve the cached response based on the requesting uri,
request method and request headers.
|
private void |
InMemoryCookieStore.getInternal1(List<HttpCookie> cookies,
Map<String,List<HttpCookie>> cookieIndex,
String host,
boolean secureLink) |
void |
CookieManager.put(URI uri,
Map<String,List<String>> responseHeaders) |
void |
CookieManager.put(URI uri,
Map<String,List<String>> responseHeaders) |
abstract void |
CookieHandler.put(URI uri,
Map<String,List<String>> responseHeaders)
Sets all the applicable cookies, examples are response header
fields that are named Set-Cookie2, present in the response
headers into a cookie cache.
|
abstract void |
CookieHandler.put(URI uri,
Map<String,List<String>> responseHeaders)
Sets all the applicable cookies, examples are response header
fields that are named Set-Cookie2, present in the response
headers into a cookie cache.
|
| Constructor and Description |
|---|
BindException(String msg)
Constructs a new BindException with the specified detail
message as to why the bind error occurred.
|
ConnectException(String msg)
Constructs a new ConnectException with the specified detail
message as to why the connect error occurred.
|
HttpCookie(String name,
String value)
Constructs a cookie with a specified name and value.
|
HttpCookie(String name,
String value,
String header) |
HttpRetryException(String detail,
int code)
Constructs a new
HttpRetryException from the
specified response code and exception detail message |
HttpRetryException(String detail,
int code,
String location)
Constructs a new
HttpRetryException with detail message
responseCode and the contents of the Location response header field. |
Inet4Address(String hostName,
byte[] addr) |
Inet4Address(String hostName,
int address) |
Inet6Address(String hostName,
byte[] addr) |
Inet6Address(String hostName,
byte[] addr,
int scope_id) |
Inet6Address(String hostName,
byte[] addr,
NetworkInterface nif) |
Inet6Address(String hostName,
byte[] addr,
String ifname) |
InetAddress.InetAddressHolder(String hostName,
int address,
int family) |
InetSocketAddress.InetSocketAddressHolder(String hostname,
InetAddress addr,
int port) |
InetSocketAddress(int port,
String hostname) |
InetSocketAddress(String hostname,
int port)
Creates a socket address from a hostname and a port number.
|
MalformedURLException(String msg)
Constructs a
MalformedURLException with the
specified detail message. |
NetPermission(String name)
Creates a new NetPermission with the specified name.
|
NetPermission(String name,
String actions)
Creates a new NetPermission object with the specified name.
|
NetworkInterface(String name,
int index,
InetAddress[] addrs) |
NoRouteToHostException(String msg)
Constructs a new NoRouteToHostException with the specified detail
message as to why the remote host cannot be reached.
|
Parts(String file) |
PasswordAuthentication(String userName,
char[] password)
Creates a new
PasswordAuthentication object from the given
user name and password. |
PortUnreachableException(String msg)
Constructs a new
PortUnreachableException with a
detail message. |
ProtocolException(String host)
Constructs a new
ProtocolException with the
specified detail message. |
Socket(String host,
int port)
Creates a stream socket and connects it to the specified port
number on the named host.
|
Socket(String host,
int port,
boolean stream)
Deprecated.
Use DatagramSocket instead for UDP transport.
|
Socket(String host,
int port,
InetAddress localAddr,
int localPort)
Creates a socket and connects it to the specified remote host on
the specified remote port.
|
SocketException(String msg)
Constructs a new
SocketException with the
specified detail message. |
SocketPermission(String host,
int mask) |
SocketPermission(String host,
String action)
Creates a new SocketPermission object with the specified actions.
|
SocketTimeoutException(String msg)
Constructs a new SocketTimeoutException with a detail
message.
|
SocksSocketImpl(String server,
int port) |
StandardSocketOptions.StdSocketOption(String name,
Class<T> type) |
UnknownHostException(String host)
Constructs a new
UnknownHostException with the
specified detail message. |
UnknownServiceException(String msg)
Constructs a new
UnknownServiceException with the
specified detail message. |
URI.Parser(String s) |
URI(String str)
Constructs a URI by parsing the given string.
|
URI(String scheme,
String ssp,
String fragment)
Constructs a URI from the given components.
|
URI(String scheme,
String userInfo,
String host,
int port,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String host,
String path,
String fragment)
Constructs a hierarchical URI from the given components.
|
URI(String scheme,
String authority,
String path,
String query,
String fragment)
Constructs a hierarchical URI from the given components.
|
URISyntaxException(String input,
String reason)
Constructs an instance from the given input string and reason.
|
URISyntaxException(String input,
String reason,
int index)
Constructs an instance from the given input string, reason, and error
index.
|
URL(String spec)
Creates a
URL object from the String
representation. |
URL(String protocol,
String host,
int port,
String file)
Creates a
URL object from the specified
protocol, host, port
number, and file. |
URL(String protocol,
String host,
int port,
String file,
URLStreamHandler handler)
Creates a
URL object from the specified
protocol, host, port
number, file, and handler. |
URL(String protocol,
String host,
String file)
Creates a URL from the specified
protocol
name, host name, and file name. |
URL(URL context,
String spec)
Creates a URL by parsing the given spec within a specified context.
|
URL(URL context,
String spec,
URLStreamHandler handler)
Creates a URL by parsing the given spec with the specified handler
within a specified context.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
ByteOrder.name |
| Modifier and Type | Method and Description |
|---|---|
String |
ShortBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
LongBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
IntBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
FloatBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
DoubleBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
CharBuffer.toString()
Returns a string containing the characters in this buffer.
|
String |
ByteOrder.toString()
Constructs a string describing this object.
|
String |
ByteBuffer.toString()
Returns a string summarizing the state of this buffer.
|
(package private) String |
StringCharBuffer.toString(int start,
int end) |
(package private) String |
HeapCharBufferR.toString(int start,
int end) |
(package private) String |
HeapCharBuffer.toString(int start,
int end) |
String |
DirectCharBufferU.toString(int start,
int end) |
String |
DirectCharBufferS.toString(int start,
int end) |
String |
DirectCharBufferRU.toString(int start,
int end) |
String |
DirectCharBufferRS.toString(int start,
int end) |
(package private) abstract String |
CharBuffer.toString(int start,
int end) |
String |
ByteBufferAsCharBufferRL.toString(int start,
int end) |
String |
ByteBufferAsCharBufferRB.toString(int start,
int end) |
String |
ByteBufferAsCharBufferL.toString(int start,
int end) |
String |
ByteBufferAsCharBufferB.toString(int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
CharBuffer |
CharBuffer.put(String src)
Relative bulk put method (optional operation).
|
CharBuffer |
CharBuffer.put(String src,
int start,
int end)
Relative bulk put method (optional operation).
|
| Constructor and Description |
|---|
ByteOrder(String name) |
| Modifier and Type | Field and Description |
|---|---|
private String |
FileChannel.MapMode.name |
| Modifier and Type | Method and Description |
|---|---|
String |
FileLock.toString()
Returns a string describing the range, type, and validity of this lock.
|
String |
FileChannel.MapMode.toString()
Returns a string describing this file-mapping mode.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
Channels.checkNotNull(Object o,
String name) |
static Reader |
Channels.newReader(ReadableByteChannel ch,
String csName)
Constructs a reader that decodes bytes from the given channel according
to the named charset.
|
static Writer |
Channels.newWriter(WritableByteChannel ch,
String csName)
Constructs a writer that encodes characters according to the named
charset and writes the resulting bytes to the given channel.
|
| Constructor and Description |
|---|
FileChannel.MapMode(String name) |
| Modifier and Type | Field and Description |
|---|---|
private String[] |
Charset.aliases |
private static String |
Charset.bugLevel |
private String |
UnsupportedCharsetException.charsetName |
private String |
IllegalCharsetNameException.charsetName |
private String |
CodingErrorAction.name |
private String |
Charset.name |
private static String[] |
CoderResult.names |
private String |
CharsetDecoder.replacement |
private static String[] |
CharsetEncoder.stateNames |
private static String[] |
CharsetDecoder.stateNames |
| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
Charset.aliasSet |
| Modifier and Type | Method and Description |
|---|---|
String |
Charset.displayName()
Returns this charset's human-readable name for the default locale.
|
String |
Charset.displayName(Locale locale)
Returns this charset's human-readable name for the given locale.
|
String |
UnsupportedCharsetException.getCharsetName()
Retrieves the name of the unsupported charset.
|
String |
IllegalCharsetNameException.getCharsetName()
Retrieves the illegal charset name.
|
String |
UnmappableCharacterException.getMessage() |
String |
MalformedInputException.getMessage() |
String |
Charset.name()
Returns this charset's canonical name.
|
String |
CharsetDecoder.replacement()
Returns this decoder's replacement value.
|
String |
CodingErrorAction.toString()
Returns a string describing this action.
|
String |
CoderResult.toString()
Returns a string describing this coder result.
|
String |
Charset.toString()
Returns a string describing this charset.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
Charset.aliases()
Returns a set containing this charset's aliases.
|
static SortedMap<String,Charset> |
Charset.availableCharsets()
Constructs a sorted map from canonical charset names to charset objects.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static boolean |
Charset.atBugLevel(String bl) |
private static void |
Charset.cache(String charsetName,
Charset cs) |
private static void |
Charset.checkName(String s)
Checks that the given string is a legal charset name.
|
ByteBuffer |
Charset.encode(String str)
Convenience method that encodes a string into bytes in this charset.
|
static Charset |
Charset.forName(String charsetName)
Returns a charset object for the named charset.
|
protected void |
CharsetDecoder.implReplaceWith(String newReplacement)
Reports a change to this decoder's replacement value.
|
static boolean |
Charset.isSupported(String charsetName)
Tells whether the named charset is supported.
|
private static Charset |
Charset.lookup(String charsetName) |
private static Charset |
Charset.lookup2(String charsetName) |
private static Charset |
Charset.lookupExtendedCharset(String charsetName) |
private static Charset |
Charset.lookupViaProviders(String charsetName) |
CharsetDecoder |
CharsetDecoder.replaceWith(String newReplacement)
Changes this decoder's replacement value.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
Charset.put(Iterator<Charset> i,
Map<String,Charset> m) |
| Constructor and Description |
|---|
Charset(String canonicalName,
String[] aliases)
Initializes a new charset with the given canonical name and alias
set.
|
Charset(String canonicalName,
String[] aliases)
Initializes a new charset with the given canonical name and alias
set.
|
CharsetDecoder(Charset cs,
float averageCharsPerByte,
float maxCharsPerByte,
String replacement)
Initializes a new decoder.
|
CodingErrorAction(String name) |
IllegalCharsetNameException(String charsetName)
Constructs an instance of this class.
|
UnsupportedCharsetException(String charsetName)
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Charset |
CharsetProvider.charsetForName(String charsetName)
Retrieves a charset for the given charset name.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
FileSystemException.file |
private String |
InvalidPathException.input |
private String |
StandardWatchEventKinds.StdWatchEventKind.name |
private String |
FileSystemException.other |
| Modifier and Type | Method and Description |
|---|---|
String |
FileSystemException.getFile()
Returns the file used to create this exception.
|
String |
InvalidPathException.getInput()
Returns the input string.
|
String |
InvalidPathException.getMessage()
Returns a string describing the error.
|
String |
FileSystemException.getMessage()
Returns the detail message string.
|
String |
FileSystemException.getOtherFile()
Returns the other file used to create this exception.
|
String |
InvalidPathException.getReason()
Returns a string explaining why the input string was rejected.
|
String |
FileSystemException.getReason()
Returns the string explaining why the file system operation failed.
|
abstract String |
FileSystem.getSeparator()
Returns the name separator, represented as a string.
|
String |
WatchEvent.Kind.name()
Returns the name of the event kind.
|
String |
WatchEvent.Modifier.name()
Returns the name of the modifier.
|
String |
StandardWatchEventKinds.StdWatchEventKind.name() |
abstract String |
FileStore.name()
Returns the name of this file store.
|
static String |
Files.probeContentType(Path path)
Probes the content type of a file.
|
String |
StandardWatchEventKinds.StdWatchEventKind.toString() |
String |
Path.toString()
Returns the string representation of this path.
|
abstract String |
FileStore.type()
Returns the type of this file store.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
Files.readAllLines(Path path,
Charset cs)
Read all lines from a file.
|
static Map<String,Object> |
Files.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
abstract Set<String> |
FileSystem.supportedFileAttributeViews()
Returns the set of the
names of the file
attribute views supported by this FileSystem. |
| Modifier and Type | Method and Description |
|---|---|
private void |
LinkPermission.checkName(String name) |
private static Path |
TempFileHelper.create(Path dir,
String prefix,
String suffix,
boolean createDirectory,
FileAttribute[] attrs)
Creates a file or directory in in the given given directory (or in the
temporary directory if dir is
null). |
(package private) static Path |
TempFileHelper.createTempDirectory(Path dir,
String prefix,
FileAttribute[] attrs)
Creates a temporary directory in the given directory, or in in the
temporary directory if dir is
null. |
static Path |
Files.createTempDirectory(Path dir,
String prefix,
FileAttribute<?>... attrs)
Creates a new directory in the specified directory, using the given
prefix to generate its name.
|
static Path |
Files.createTempDirectory(String prefix,
FileAttribute<?>... attrs)
Creates a new directory in the default temporary-file directory, using
the given prefix to generate its name.
|
(package private) static Path |
TempFileHelper.createTempFile(Path dir,
String prefix,
String suffix,
FileAttribute[] attrs)
Creates a temporary file in the given directory, or in in the
temporary directory if dir is
null. |
static Path |
Files.createTempFile(Path dir,
String prefix,
String suffix,
FileAttribute<?>... attrs)
Creates a new empty file in the specified directory, using the given
prefix and suffix strings to generate its name.
|
static Path |
Files.createTempFile(String prefix,
String suffix,
FileAttribute<?>... attrs)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
boolean |
Path.endsWith(String other)
Tests if this path ends with a
Path, constructed by converting
the given path string, in exactly the manner specified by the endsWith(Path) method. |
private static Path |
TempFileHelper.generatePath(String prefix,
String suffix,
Path dir) |
static Path |
Paths.get(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path. |
static Path |
Paths.get(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path. |
static Object |
Files.getAttribute(Path path,
String attribute,
LinkOption... options)
Reads the value of a file attribute.
|
abstract Object |
FileStore.getAttribute(String attribute)
Reads the value of a file store attribute.
|
abstract Path |
FileSystem.getPath(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path. |
abstract Path |
FileSystem.getPath(String first,
String... more)
Converts a path string, or a sequence of strings that when joined form
a path string, to a
Path. |
abstract PathMatcher |
FileSystem.getPathMatcher(String syntaxAndPattern)
Returns a
PathMatcher that performs match operations on the
String representation of Path objects by interpreting a
given pattern. |
static DirectoryStream<Path> |
Files.newDirectoryStream(Path dir,
String glob)
Opens a directory, returning a
DirectoryStream to iterate over
the entries in the directory. |
static Map<String,Object> |
Files.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
Path |
Path.resolve(String other)
Converts a given path string to a
Path and resolves it against
this Path in exactly the manner specified by the resolve method. |
Path |
Path.resolveSibling(String other)
Converts a given path string to a
Path and resolves it against
this path's parent path in exactly the manner
specified by the resolveSibling method. |
static Path |
Files.setAttribute(Path path,
String attribute,
Object value,
LinkOption... options)
Sets the value of a file attribute.
|
boolean |
Path.startsWith(String other)
Tests if this path starts with a
Path, constructed by converting
the given path string, in exactly the manner specified by the startsWith(Path) method. |
abstract boolean |
FileStore.supportsFileAttributeView(String name)
Tells whether or not this file store supports the file attributes
identified by the given file attribute view.
|
static StandardOpenOption |
StandardOpenOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardCopyOption |
StandardCopyOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkOption |
LinkOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileVisitResult |
FileVisitResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileVisitOption |
FileVisitOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessMode |
AccessMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
static FileSystem |
FileSystems.newFileSystem(URI uri,
Map<String,?> env)
Constructs a new file system that is identified by a
URI |
static FileSystem |
FileSystems.newFileSystem(URI uri,
Map<String,?> env,
ClassLoader loader)
Constructs a new file system that is identified by a
URI |
| Constructor and Description |
|---|
AccessDeniedException(String file)
Constructs an instance of this class.
|
AccessDeniedException(String file,
String other,
String reason)
Constructs an instance of this class.
|
AtomicMoveNotSupportedException(String source,
String target,
String reason)
Constructs an instance of this class.
|
DirectoryNotEmptyException(String dir)
Constructs an instance of this class.
|
FileAlreadyExistsException(String file)
Constructs an instance of this class.
|
FileAlreadyExistsException(String file,
String other,
String reason)
Constructs an instance of this class.
|
FileSystemAlreadyExistsException(String msg)
Constructs an instance of this class.
|
FileSystemException(String file)
Constructs an instance of this class.
|
FileSystemException(String file,
String other,
String reason)
Constructs an instance of this class.
|
FileSystemLoopException(String file)
Constructs an instance of this class.
|
FileSystemNotFoundException(String msg)
Constructs an instance of this class.
|
InvalidPathException(String input,
String reason)
Constructs an instance from the given input string and reason.
|
InvalidPathException(String input,
String reason,
int index)
Constructs an instance from the given input string, reason, and error
index.
|
LinkPermission(String name)
Constructs a
LinkPermission with the specified name. |
LinkPermission(String name,
String actions)
Constructs a
LinkPermission with the specified name. |
NoSuchFileException(String file)
Constructs an instance of this class.
|
NoSuchFileException(String file,
String other,
String reason)
Constructs an instance of this class.
|
NotDirectoryException(String file)
Constructs an instance of this class.
|
NotLinkException(String file)
Constructs an instance of this class.
|
NotLinkException(String file,
String other,
String reason)
Constructs an instance of this class.
|
ProviderMismatchException(String msg)
Constructs an instance of this class.
|
ProviderNotFoundException(String msg)
Constructs an instance of this class.
|
StandardWatchEventKinds.StdWatchEventKind(String name,
Class<T> type) |
| Modifier and Type | Field and Description |
|---|---|
private String |
UserPrincipalNotFoundException.name |
private String |
FileTime.valueAsString
The value return by toString (created lazily)
|
| Modifier and Type | Method and Description |
|---|---|
String |
UserPrincipalNotFoundException.getName()
Returns the user principal name if this exception was created with the
user principal name that was not found, otherwise null.
|
String |
UserDefinedFileAttributeView.name()
Returns the name of this attribute view.
|
String |
PosixFileAttributeView.name()
Returns the name of the attribute view.
|
String |
FileOwnerAttributeView.name()
Returns the name of the attribute view.
|
String |
FileAttribute.name()
Returns the attribute name.
|
String |
DosFileAttributeView.name()
Returns the name of the attribute view.
|
String |
BasicFileAttributeView.name()
Returns the name of the attribute view.
|
String |
AttributeView.name()
Returns the name of the attribute view.
|
String |
AclFileAttributeView.name()
Returns the name of the attribute view.
|
String |
FileTime.toString()
Returns the string representation of this
FileTime. |
String |
AclEntry.toString()
Returns the string representation of this ACL entry.
|
static String |
PosixFilePermissions.toString(Set<PosixFilePermission> perms)
Returns the
String representation of a set of permissions. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
UserDefinedFileAttributeView.list()
Returns a list containing the names of the user-defined attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserDefinedFileAttributeView.delete(String name)
Deletes a user-defined attribute.
|
static Set<PosixFilePermission> |
PosixFilePermissions.fromString(String perms)
Returns the set of permissions corresponding to a given
String
representation. |
abstract GroupPrincipal |
UserPrincipalLookupService.lookupPrincipalByGroupName(String group)
Lookup a group principal by group name.
|
abstract UserPrincipal |
UserPrincipalLookupService.lookupPrincipalByName(String name)
Lookup a user principal by name.
|
int |
UserDefinedFileAttributeView.read(String name,
ByteBuffer dst)
Read the value of a user-defined attribute into a buffer.
|
int |
UserDefinedFileAttributeView.size(String name)
Returns the size of the value of a user-defined attribute.
|
static PosixFilePermission |
PosixFilePermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclEntryType |
AclEntryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclEntryPermission |
AclEntryPermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclEntryFlag |
AclEntryFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
int |
UserDefinedFileAttributeView.write(String name,
ByteBuffer src)
Writes the value of a user-defined attribute from a buffer.
|
| Constructor and Description |
|---|
UserPrincipalNotFoundException(String name)
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
FileSystemProvider.getScheme()
Returns the URI scheme that identifies this provider.
|
abstract String |
FileTypeDetector.probeContentType(Path path)
Probes the given file to guess its content type.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,Object> |
FileSystemProvider.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,Object> |
FileSystemProvider.readAttributes(Path path,
String attributes,
LinkOption... options)
Reads a set of file attributes as a bulk operation.
|
abstract void |
FileSystemProvider.setAttribute(Path path,
String attribute,
Object value,
LinkOption... options)
Sets the value of a file attribute.
|
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
FileSystemProvider.newFileSystem(Path path,
Map<String,?> env)
Constructs a new
FileSystem to access the contents of a file as a
file system. |
abstract FileSystem |
FileSystemProvider.newFileSystem(URI uri,
Map<String,?> env)
Constructs a new
FileSystem object identified by a URI. |
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
Naming.ParsedNamingURL.host |
(package private) String |
Naming.ParsedNamingURL.name |
| Modifier and Type | Method and Description |
|---|---|
String |
RemoteException.getMessage()
Returns the detail message, including the message from the cause, if
any, of this exception.
|
static String[] |
Naming.list(String name)
Returns an array of the names bound in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Naming.bind(String name,
Remote obj)
Binds the specified
name to a remote object. |
private static Naming.ParsedNamingURL |
Naming.intParseURL(String str) |
static String[] |
Naming.list(String name)
Returns an array of the names bound in the registry.
|
static Remote |
Naming.lookup(String name)
Returns a reference, a stub, for the remote object associated
with the specified
name. |
private static Naming.ParsedNamingURL |
Naming.parseURL(String str)
Dissect Naming URL strings to obtain referenced host, port and
object name.
|
static void |
Naming.rebind(String name,
Remote obj)
Rebinds the specified name to a new remote object.
|
static void |
Naming.unbind(String name)
Destroys the binding for the specified name that is associated
with a remote object.
|
protected void |
MarshalledObject.MarshalledObjectOutputStream.writeLocation(String loc)
Overrides MarshalOutputStream.writeLocation implementation to write
annotations to the location stream.
|
| Constructor and Description |
|---|
AccessException(String s)
Constructs an
AccessException with the specified
detail message. |
AccessException(String s,
Exception ex)
Constructs an
AccessException with the specified
detail message and nested exception. |
AlreadyBoundException(String s)
Constructs an
AlreadyBoundException with the specified
detail message. |
ConnectException(String s)
Constructs a
ConnectException with the specified
detail message. |
ConnectException(String s,
Exception ex)
Constructs a
ConnectException with the specified
detail message and nested exception. |
ConnectIOException(String s)
Constructs a
ConnectIOException with the specified
detail message. |
ConnectIOException(String s,
Exception ex)
Constructs a
ConnectIOException with the specified
detail message and nested exception. |
MarshalException(String s)
Constructs a
MarshalException with the specified
detail message. |
MarshalException(String s,
Exception ex)
Constructs a
MarshalException with the specified
detail message and nested exception. |
Naming.ParsedNamingURL(String host,
int port,
String name) |
NoSuchObjectException(String s)
Constructs a
NoSuchObjectException with the specified
detail message. |
NotBoundException(String s)
Constructs a
NotBoundException with the specified
detail message. |
RemoteException(String s)
Constructs a
RemoteException with the specified
detail message. |
RemoteException(String s,
Throwable cause)
Constructs a
RemoteException with the specified detail
message and cause. |
RMISecurityException(String name)
Deprecated.
no replacement
|
RMISecurityException(String name,
String arg)
Deprecated.
no replacement
|
ServerError(String s,
Error err)
Constructs a
ServerError with the specified
detail message and nested error. |
ServerException(String s)
Constructs a
ServerException with the specified
detail message. |
ServerException(String s,
Exception ex)
Constructs a
ServerException with the specified
detail message and nested exception. |
ServerRuntimeException(String s,
Exception ex)
Deprecated.
no replacement
|
StubNotFoundException(String s)
Constructs a
StubNotFoundException with the specified
detail message. |
StubNotFoundException(String s,
Exception ex)
Constructs a
StubNotFoundException with the specified
detail message and nested exception. |
UnexpectedException(String s)
Constructs an
UnexpectedException with the specified
detail message. |
UnexpectedException(String s,
Exception ex)
Constructs a
UnexpectedException with the specified
detail message and nested exception. |
UnknownHostException(String s)
Constructs an
UnknownHostException with the specified
detail message. |
UnknownHostException(String s,
Exception ex)
Constructs an
UnknownHostException with the specified
detail message and nested exception. |
UnmarshalException(String s)
Constructs an
UnmarshalException with the specified
detail message. |
UnmarshalException(String s,
Exception ex)
Constructs an
UnmarshalException with the specified
detail message and nested exception. |
| Modifier and Type | Field and Description |
|---|---|
private String |
ActivationGroupDesc.className |
private String |
ActivationDesc.className |
private String |
ActivationGroupDesc.CommandEnvironment.command |
private String |
ActivationGroupDesc.location |
private String |
ActivationDesc.location |
private String[] |
ActivationGroupDesc.CommandEnvironment.options |
| Modifier and Type | Method and Description |
|---|---|
String |
ActivationGroupDesc.getClassName()
Returns the group's class name (possibly
null). |
String |
ActivationDesc.getClassName()
Returns the class name for the object specified by this
descriptor.
|
String[] |
ActivationGroupDesc.CommandEnvironment.getCommandOptions()
Fetch the configured java command options.
|
String |
ActivationGroupDesc.CommandEnvironment.getCommandPath()
Fetch the configured path-qualified java command name.
|
String |
ActivationGroupDesc.getLocation()
Returns the group's code location.
|
String |
ActivationDesc.getLocation()
Returns the code location for the object specified by
this descriptor.
|
String |
ActivationException.getMessage()
Returns the detail message, including the message from the cause, if
any, of this exception.
|
| Modifier and Type | Method and Description |
|---|---|
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject<?> data,
boolean restart,
int port)
Registers an activation descriptor (with the specified location,
data, and restart mode) for the specified object, and exports that
object with the specified port.
|
static ActivationID |
Activatable.exportObject(Remote obj,
String location,
MarshalledObject<?> data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Registers an activation descriptor (with the specified location,
data, and restart mode) for the specified object, and exports that
object with the specified port, and the specified client and server
socket factories.
|
| Constructor and Description |
|---|
Activatable(String location,
MarshalledObject<?> data,
boolean restart,
int port)
Constructs an activatable remote object by registering
an activation descriptor (with the specified location, data, and
restart mode) for this object, and exporting the object with the
specified port.
|
Activatable(String location,
MarshalledObject<?> data,
boolean restart,
int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf)
Constructs an activatable remote object by registering
an activation descriptor (with the specified location, data, and
restart mode) for this object, and exporting the object with the
specified port, and specified client and server socket factories.
|
ActivateFailedException(String s)
Constructs an
ActivateFailedException with the specified
detail message. |
ActivateFailedException(String s,
Exception ex)
Constructs an
ActivateFailedException with the specified
detail message and nested exception. |
ActivationDesc(ActivationGroupID groupID,
String className,
String location,
MarshalledObject<?> data)
Constructs an object descriptor for an object whose class name
is
className that can be loaded from the
code location and whose initialization
information is data. |
ActivationDesc(ActivationGroupID groupID,
String className,
String location,
MarshalledObject<?> data,
boolean restart)
Constructs an object descriptor for an object whose class name
is
className that can be loaded from the
code location and whose initialization
information is data. |
ActivationDesc(String className,
String location,
MarshalledObject<?> data)
Constructs an object descriptor for an object whose class name
is
className, that can be loaded from the
code location and whose initialization
information is data. |
ActivationDesc(String className,
String location,
MarshalledObject<?> data,
boolean restart)
Constructs an object descriptor for an object whose class name
is
className, that can be loaded from the
code location and whose initialization
information is data. |
ActivationException(String s)
Constructs an
ActivationException with the specified
detail message. |
ActivationException(String s,
Throwable cause)
Constructs an
ActivationException with the specified
detail message and cause. |
ActivationGroupDesc.CommandEnvironment(String cmdpath,
String[] argv)
Create a CommandEnvironment with all the necessary
information.
|
ActivationGroupDesc.CommandEnvironment(String cmdpath,
String[] argv)
Create a CommandEnvironment with all the necessary
information.
|
ActivationGroupDesc(String className,
String location,
MarshalledObject<?> data,
Properties overrides,
ActivationGroupDesc.CommandEnvironment cmd)
Specifies an alternate group implementation and execution
environment to be used for the group.
|
UnknownGroupException(String s)
Constructs an
UnknownGroupException with the specified
detail message. |
UnknownObjectException(String s)
Constructs an
UnknownObjectException with the specified
detail message. |
| Modifier and Type | Method and Description |
|---|---|
String |
VMID.toString()
Return string representation of this VMID.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
Registry.list()
Returns an array of the names bound in this registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Registry.bind(String name,
Remote obj)
Binds a remote reference to the specified
name in
this registry. |
static Registry |
LocateRegistry.getRegistry(String host)
Returns a reference to the remote object
Registry on the
specified host on the default registry port of 1099. |
static Registry |
LocateRegistry.getRegistry(String host,
int port)
Returns a reference to the remote object
Registry on the
specified host and port. |
static Registry |
LocateRegistry.getRegistry(String host,
int port,
RMIClientSocketFactory csf)
Returns a locally created remote reference to the remote object
Registry on the specified host and
port. |
Remote |
Registry.lookup(String name)
Returns the remote reference bound to the specified
name in this registry. |
void |
Registry.rebind(String name,
Remote obj)
Replaces the binding for the specified
name in
this registry with the supplied remote reference. |
Registry |
RegistryHandler.registryStub(String host,
int port)
Deprecated.
no replacement. As of the Java 2 platform v1.2, RMI no
longer uses the
RegistryHandler to obtain the registry's
stub. |
void |
Registry.unbind(String name)
Removes the binding for the specified
name in
this registry. |
| Modifier and Type | Field and Description |
|---|---|
private String |
LogStream.name
Deprecated.
log name for this log
|
private String |
Operation.operation
Deprecated.
|
static String |
RemoteRef.packagePrefix
Initialize the server package prefix: assumes that the
implementation of server ref classes (e.g., UnicastRef,
UnicastServerRef) are located in the package defined by the
prefix.
|
static String |
LoaderHandler.packagePrefix
Deprecated.
package of system
LoaderHandler implementation. |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
RMIClassLoaderSpi.getClassAnnotation(Class<?> cl)
Provides the implementation for
RMIClassLoader.getClassAnnotation(Class). |
static String |
RMIClassLoader.getClassAnnotation(Class<?> cl)
Returns the annotation string (representing a location for
the class definition) that RMI will use to annotate the class
descriptor when marshalling objects of the given class.
|
String |
ServerRef.getClientHost()
Returns the hostname of the current client.
|
static String |
RemoteServer.getClientHost()
Returns a string representation of the client host for the
remote method invocation being processed in the current thread.
|
String |
ServerCloneException.getMessage()
Returns the detail message, including the message from the cause, if
any, of this exception.
|
String |
Operation.getOperation()
Deprecated.
no replacement
|
String |
RemoteRef.getRefClass(ObjectOutput out)
Returns the class name of the ref type to be serialized onto
the stream 'out'.
|
private String |
RemoteObjectInvocationHandler.proxyToString(Object proxy)
Returns a string representation for a proxy that uses this invocation
handler.
|
String |
RemoteRef.remoteToString()
Returns a String that represents the reference of this remote
object.
|
String |
UID.toString()
Returns a string representation of this
UID. |
String |
RemoteObject.toString()
Returns a String that represents the value of this remote object.
|
String |
Operation.toString()
Deprecated.
no replacement
|
String |
ObjID.toString()
Returns a string representation of this object identifier.
|
String |
LogStream.toString()
Deprecated.
no replacement
|
| Modifier and Type | Method and Description |
|---|---|
abstract Socket |
RMISocketFactory.createSocket(String host,
int port)
Creates a client socket connected to the specified host and port.
|
Socket |
RMIClientSocketFactory.createSocket(String host,
int port)
Create a client socket connected to the specified host and port.
|
abstract ClassLoader |
RMIClassLoaderSpi.getClassLoader(String codebase)
Provides the implementation for
RMIClassLoader.getClassLoader(String). |
static ClassLoader |
RMIClassLoader.getClassLoader(String codebase)
Returns a class loader that loads classes from the given codebase
URL path.
|
static Class<?> |
RMIClassLoader.loadClass(String name)
Deprecated.
replaced by
loadClass(String,String) method |
Class<?> |
LoaderHandler.loadClass(String name)
Deprecated.
no replacement
|
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name)
Loads a class from a codebase URL path.
|
abstract Class<?> |
RMIClassLoaderSpi.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadClass(URL,String),
RMIClassLoader.loadClass(String,String), and
RMIClassLoader.loadClass(String,String,ClassLoader). |
static Class<?> |
RMIClassLoader.loadClass(String codebase,
String name,
ClassLoader defaultLoader)
Loads a class from a codebase URL path, optionally using the
supplied loader.
|
static Class<?> |
RMIClassLoader.loadClass(URL codebase,
String name)
Loads a class from a codebase URL.
|
Class<?> |
LoaderHandler.loadClass(URL codebase,
String name)
Deprecated.
no replacement
|
abstract Class<?> |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadProxyClass(String,String[],ClassLoader). |
abstract Class<?> |
RMIClassLoaderSpi.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Provides the implementation for
RMIClassLoader.loadProxyClass(String,String[],ClassLoader). |
static Class<?> |
RMIClassLoader.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Loads a dynamic proxy class (see
Proxy)
that implements a set of interfaces with the given names
from a codebase URL path. |
static Class<?> |
RMIClassLoader.loadProxyClass(String codebase,
String[] interfaces,
ClassLoader defaultLoader)
Loads a dynamic proxy class (see
Proxy)
that implements a set of interfaces with the given names
from a codebase URL path. |
static LogStream |
LogStream.log(String name)
Deprecated.
no replacement
|
static int |
LogStream.parseLevel(String s)
Deprecated.
no replacement
|
| Constructor and Description |
|---|
ExportException(String s)
Constructs an
ExportException with the specified
detail message. |
ExportException(String s,
Exception ex)
Constructs an
ExportException with the specified
detail message and nested exception. |
LogStream(String name,
OutputStream out)
Deprecated.
no replacement
|
Operation(String op)
Deprecated.
no replacement
|
ServerCloneException(String s)
Constructs a
ServerCloneException with the specified
detail message. |
ServerCloneException(String s,
Exception cause)
Constructs a
ServerCloneException with the specified
detail message and cause. |
ServerNotActiveException(String s)
Constructs an
ServerNotActiveException with the specified
detail message. |
SkeletonMismatchException(String s)
Deprecated.
no replacement
|
SkeletonNotFoundException(String s)
Deprecated.
Constructs a
SkeletonNotFoundException with the specified
detail message. |
SkeletonNotFoundException(String s,
Exception ex)
Deprecated.
Constructs a
SkeletonNotFoundException with the specified
detail message and nested exception. |
SocketSecurityException(String s)
Constructs an
SocketSecurityException with the specified
detail message. |
SocketSecurityException(String s,
Exception ex)
Constructs an
SocketSecurityException with the specified
detail message and nested exception. |
| Modifier and Type | Field and Description |
|---|---|
private String |
UnresolvedPermission.actions
The actions of the permission.
|
private String |
Signature.algorithm |
private String |
SecureRandom.algorithm |
private String |
Provider.ServiceKey.algorithm |
private String |
Provider.Service.algorithm |
private String |
MessageDigest.algorithm |
private String |
KeyRep.algorithm
The Key algorithm
|
private String |
KeyPairGenerator.algorithm |
private String |
KeyFactory.algorithm |
private String |
AlgorithmParameters.algorithm |
private String |
AlgorithmParameterGenerator.algorithm |
private static String |
Provider.ALIAS_PREFIX |
private static String |
Provider.ALIAS_PREFIX_LOWER |
(package private) String |
Security.ProviderProperty.className |
private String |
Provider.Service.className |
(package private) String |
Provider.EngineDescription.constructorParameterClassName |
private String |
KeyRep.format
The Key encoding format
|
private String |
Provider.info
A description of the provider and its services.
|
(package private) String |
Identity.info
Deprecated.
Generic, descriptive information about the identity.
|
private static String |
KeyStore.KEYSTORE_TYPE |
(package private) String |
Provider.UString.lowerString |
private String |
UnresolvedPermission.name
The permission name.
|
private String |
Provider.name
The provider name.
|
(package private) String |
Provider.EngineDescription.name |
private String |
Permission.name |
private String |
Identity.name
Deprecated.
The name for this identity.
|
private String |
Provider.ServiceKey.originalAlgorithm |
private String |
BasicPermission.path |
private static String |
KeyRep.PKCS8 |
private static String |
KeyRep.RAW |
private static String |
Signature.RSA_CIPHER |
private static String |
Signature.RSA_SIGNATURE |
(package private) String |
Provider.UString.string |
private String[] |
Provider.Service.supportedFormats |
private String |
SignedObject.thealgorithm |
private String |
UnresolvedPermission.type
The class name of the Permission class that will be
created when this unresolved permission is resolved.
|
private String |
Provider.ServiceKey.type |
private String |
Provider.Service.type |
private String |
Policy.PolicyDelegate.type |
private String |
KeyStore.type |
private String |
KeyStore.Builder.FileBuilder.type |
private static String |
KeyRep.X509 |
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
Provider.Service.aliases |
private Map<Provider.UString,String> |
Provider.Service.attributes |
private static Map<String,Provider.EngineDescription> |
Provider.knownEngines |
private Map<String,String> |
Provider.legacyStrings |
private Map<String,String> |
Provider.legacyStrings |
private Map<String,List<UnresolvedPermission>> |
UnresolvedPermissionCollection.perms
Key is permission type, value is a list of the UnresolvedPermissions
of the same type.
|
private Map<String,Permission> |
BasicPermissionCollection.perms
Key is name, value is permission.
|
private static Map<String,Boolean> |
Signature.signatureInfo |
private static Map<String,Class> |
Security.spiMap |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate
matches the given certificate.
|
protected abstract String |
AlgorithmParametersSpi.engineToString()
Returns a formatted string describing the parameters.
|
(package private) String |
Identity.fullName()
Deprecated.
Returns a parsable name for identity: identityName.scopeName
|
String |
UnresolvedPermission.getActions()
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
an UnresolvedPermission.
|
abstract String |
Permission.getActions()
Returns the actions as a String.
|
String |
BasicPermission.getActions()
Returns the canonical string representation of the actions,
which currently is the empty string "", since there are no actions for
a BasicPermission.
|
String |
AllPermission.getActions()
Returns the canonical string representation of the actions.
|
String |
SignedObject.getAlgorithm()
Retrieves the name of the signature algorithm.
|
String |
Signature.getAlgorithm()
Returns the name of the algorithm for this signature object.
|
String |
SecureRandom.getAlgorithm()
Returns the name of the algorithm implemented by this SecureRandom
object.
|
String |
Provider.Service.getAlgorithm()
Return the name of the algorithm of this service.
|
String |
MessageDigest.getAlgorithm()
Returns a string that identifies the algorithm, independent of
implementation details.
|
String |
KeyPairGenerator.getAlgorithm()
Returns the standard name of the algorithm for this key pair generator.
|
String |
KeyFactory.getAlgorithm()
Gets the name of the algorithm
associated with this KeyFactory.
|
String |
Key.getAlgorithm()
Returns the standard algorithm name for this key.
|
String |
AlgorithmParameters.getAlgorithm()
Returns the name of the algorithm associated with this parameter object.
|
String |
AlgorithmParameterGenerator.getAlgorithm()
Returns the standard name of the algorithm this parameter
generator is associated with.
|
static String |
Security.getAlgorithmProperty(String algName,
String propName)
Deprecated.
This method used to return the value of a proprietary
property in the master file of the "SUN" Cryptographic Service
Provider in order to determine how to parse algorithm-specific
parameters. Use the new provider-based and algorithm-independent
AlgorithmParameters and KeyFactory engine
classes (introduced in the J2SE version 1.2 platform) instead. |
String |
Provider.Service.getAttribute(String name)
Return the value of the specified attribute or null if this
attribute is not set for this Service.
|
(package private) String |
BasicPermission.getCanonicalName()
Returns the canonical name of this BasicPermission.
|
String |
KeyStore.getCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate
matches the given certificate.
|
String |
Provider.Service.getClassName()
Return the name of the class implementing this service.
|
static String |
KeyStore.getDefaultType()
Returns the default keystore type as specified in the Java security
properties file, or the string
"jks" (acronym for "Java keystore")
if no such property exists.
|
private static String |
Provider.getEngineName(String s) |
(package private) static String[] |
Security.getFilterComponents(String filterKey,
String filterValue) |
String |
Key.getFormat()
Returns the name of the primary encoding format of this key,
or null if this key does not support encoding.
|
String |
Certificate.getFormat()
Deprecated.
Returns the name of the coding format.
|
String |
Provider.getInfo()
Returns a human-readable description of the provider and its
services.
|
String |
Identity.getInfo()
Deprecated.
Returns general information previously specified for this identity.
|
String |
Provider.getName()
Returns the name of this provider.
|
String |
Principal.getName()
Returns the name of this principal.
|
String |
Permission.getName()
Returns the name of this Permission.
|
String |
Identity.getName()
Deprecated.
Returns this identity's name.
|
private static String |
SecureRandom.getPrngAlgorithm()
Gets a default PRNG algorithm by looking through all registered
providers.
|
static String |
Security.getProperty(String key)
Gets a security property value.
|
String |
Provider.getProperty(String key) |
private static String |
Security.getProviderProperty(String key,
Provider provider)
Returns the property (if any) mapping the key for the given provider.
|
String |
Provider.Service.getType()
Get the type of this service.
|
String |
Policy.getType()
Return the type of this Policy.
|
String |
Policy.PolicyDelegate.getType() |
String |
KeyStore.getType()
Returns the type of this keystore.
|
private String[] |
Provider.getTypeAndAlgorithm(String key) |
String |
UnresolvedPermission.getUnresolvedActions()
Get the actions for the underlying permission that
has not been resolved.
|
String |
UnresolvedPermission.getUnresolvedName()
Get the target name of the underlying permission that
has not been resolved.
|
String |
UnresolvedPermission.getUnresolvedType()
Get the type (class name) of the underlying permission that
has not been resolved.
|
(package private) String |
Identity.printCertificates()
Deprecated.
|
(package private) String |
Signer.printKeys()
Deprecated.
|
(package private) String |
Identity.printKeys()
Deprecated.
|
String |
UnresolvedPermission.toString()
Returns a string describing this UnresolvedPermission.
|
String |
Timestamp.toString()
Returns a string describing this timestamp.
|
String |
Signer.toString()
Deprecated.
Returns a string of information about the signer.
|
String |
Signature.toString()
Returns a string representation of this signature object,
providing information that includes the state of the object
and the name of the algorithm used.
|
String |
Provider.toString()
Returns a string with the name and the version number
of this provider.
|
String |
Provider.UString.toString() |
String |
Provider.Service.toString()
Return a String representation of this service.
|
String |
ProtectionDomain.toString()
Convert a ProtectionDomain to a String.
|
String |
PrivilegedActionException.toString() |
String |
Principal.toString()
Returns a string representation of this principal.
|
String |
PermissionCollection.toString()
Returns a string describing this PermissionCollection object,
providing information about all the permissions it contains.
|
String |
Permission.toString()
Returns a string describing this Permission.
|
String |
MessageDigest.toString()
Returns a string representation of this message digest object.
|
String |
KeyStore.PrivateKeyEntry.toString()
Returns a string representation of this PrivateKeyEntry.
|
String |
KeyStore.SecretKeyEntry.toString()
Returns a string representation of this SecretKeyEntry.
|
String |
KeyStore.TrustedCertificateEntry.toString()
Returns a string representation of this TrustedCertificateEntry.
|
String |
IdentityScope.toString()
Deprecated.
Returns a string representation of this identity scope, including
its name, its scope name, and the number of identities in this
identity scope.
|
String |
Identity.toString()
Deprecated.
Returns a short string describing this identity, telling its
name and its scope (if any).
|
String |
DigestOutputStream.toString()
Prints a string representation of this digest output stream and
its associated message digest object.
|
String |
DigestInputStream.toString()
Prints a string representation of this digest input stream and
its associated message digest object.
|
String |
CodeSource.toString()
Returns a string describing this CodeSource, telling its
URL and certificates.
|
String |
CodeSigner.toString()
Returns a string describing this code signer.
|
String |
AlgorithmParameters.toString()
Returns a formatted string describing the parameters.
|
String |
Identity.toString(boolean detailed)
Deprecated.
Returns a string representation of this identity, with
optionally more details than that provided by the
toString method without any arguments. |
String |
Certificate.toString(boolean detailed)
Deprecated.
Returns a string that represents the contents of the certificate.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<String> |
KeyStore.aliases()
Lists all the alias names of this keystore.
|
abstract Enumeration<String> |
KeyStoreSpi.engineAliases()
Lists all the alias names of this keystore.
|
static Set<String> |
Security.getAlgorithms(String serviceName)
Returns a Set of Strings containing the names of all available
algorithms or types for the specified Java cryptographic service
(e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
|
private List<String> |
Provider.Service.getAliases() |
| Modifier and Type | Method and Description |
|---|---|
private void |
Provider.Service.addAlias(String alias) |
(package private) void |
Provider.Service.addAttribute(String type,
String value) |
private static void |
Provider.addEngine(String name,
boolean sp,
String paramName) |
private static void |
Signer.check(String directive)
Deprecated.
|
private static void |
Security.check(String directive) |
private void |
Provider.check(String directive) |
private static void |
IdentityScope.check(String directive)
Deprecated.
|
private static void |
Identity.check(String directive)
Deprecated.
|
private static void |
Policy.checkPermission(String type) |
boolean |
KeyStore.containsAlias(String alias)
Checks if the given alias exists in this keystore.
|
protected Class<?> |
SecureClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
CodeSource cs)
Converts an array of bytes into an instance of class Class,
with an optional CodeSource.
|
protected Class<?> |
SecureClassLoader.defineClass(String name,
ByteBuffer b,
CodeSource cs)
Converts a
ByteBuffer
into an instance of class Class, with an optional CodeSource. |
void |
KeyStore.deleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
abstract boolean |
KeyStoreSpi.engineContainsAlias(String alias)
Checks if the given alias exists in this keystore.
|
abstract void |
KeyStoreSpi.engineDeleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
boolean |
KeyStoreSpi.engineEntryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore
Entry for the specified
alias is an instance or subclass of the specified
entryClass. |
abstract Certificate |
KeyStoreSpi.engineGetCertificate(String alias)
Returns the certificate associated with the given alias.
|
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
abstract Date |
KeyStoreSpi.engineGetCreationDate(String alias)
Returns the creation date of the entry identified by the given alias.
|
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded(String format)
Returns the parameters encoded in the specified format.
|
KeyStore.Entry |
KeyStoreSpi.engineGetEntry(String alias,
KeyStore.ProtectionParameter protParam)
Gets a
KeyStore.Entry for the specified alias
with the specified protection parameter. |
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given
password to recover it.
|
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
Deprecated.
|
protected Object |
Signature.Delegate.engineGetParameter(String param) |
protected Object |
Signature.CipherAdapter.engineGetParameter(String param) |
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params,
String format)
Imports the parameters from
params and
decodes them according to the specified decoding format. |
abstract boolean |
KeyStoreSpi.engineIsCertificateEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setCertificateEntry,
or created by a call to setEntry with a
TrustedCertificateEntry. |
abstract boolean |
KeyStoreSpi.engineIsKeyEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setKeyEntry,
or created by a call to setEntry with a
PrivateKeyEntry or a SecretKeyEntry. |
abstract void |
KeyStoreSpi.engineSetCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias.
|
void |
KeyStoreSpi.engineSetEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a
KeyStore.Entry under the specified alias. |
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given
password.
|
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value)
Deprecated.
Replaced by
engineSetParameter. |
protected void |
Signature.Delegate.engineSetParameter(String param,
Object value) |
protected void |
Signature.CipherAdapter.engineSetParameter(String param,
Object value) |
boolean |
KeyStore.entryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore
Entry for the specified
alias is an instance or subclass of the specified
entryClass. |
static String |
Security.getAlgorithmProperty(String algName,
String propName)
Deprecated.
This method used to return the value of a proprietary
property in the master file of the "SUN" Cryptographic Service
Provider in order to determine how to parse algorithm-specific
parameters. Use the new provider-based and algorithm-independent
AlgorithmParameters and KeyFactory engine
classes (introduced in the J2SE version 1.2 platform) instead. |
static Set<String> |
Security.getAlgorithms(String serviceName)
Returns a Set of Strings containing the names of all available
algorithms or types for the specified Java cryptographic service
(e.g., Signature, MessageDigest, Cipher, Mac, KeyStore).
|
private static LinkedHashSet<Provider> |
Security.getAllQualifyingCandidates(String filterKey,
String filterValue,
Provider[] allProviders) |
String |
Provider.Service.getAttribute(String name)
Return the value of the specified attribute or null if this
attribute is not set for this Service.
|
Certificate |
KeyStore.getCertificate(String alias)
Returns the certificate associated with the given alias.
|
Certificate[] |
KeyStore.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
Date |
KeyStore.getCreationDate(String alias)
Returns the creation date of the entry identified by the given alias.
|
byte[] |
AlgorithmParameters.getEncoded(String format)
Returns the parameters encoded in the specified scheme.
|
private static String |
Provider.getEngineName(String s) |
KeyStore.Entry |
KeyStore.getEntry(String alias,
KeyStore.ProtectionParameter protParam)
Gets a keystore
Entry for the specified alias
with the specified protection parameter. |
(package private) static String[] |
Security.getFilterComponents(String filterKey,
String filterValue) |
abstract Identity |
IdentityScope.getIdentity(String name)
Deprecated.
Returns the identity in this scope with the specified name (if any).
|
(package private) static Object[] |
Security.getImpl(String algorithm,
String type,
Provider provider) |
(package private) static Object[] |
Security.getImpl(String algorithm,
String type,
Provider provider,
Object params) |
(package private) static Object[] |
Security.getImpl(String algorithm,
String type,
String provider) |
(package private) static Object[] |
Security.getImpl(String algorithm,
String type,
String provider,
Object params) |
private static Signature |
Signature.getInstance(sun.security.jca.GetInstance.Instance instance,
String algorithm) |
private static KeyPairGenerator |
KeyPairGenerator.getInstance(sun.security.jca.GetInstance.Instance instance,
String algorithm) |
static Signature |
Signature.getInstance(String algorithm)
Returns a Signature object that implements the specified signature
algorithm.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm)
Returns a SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm)
Returns a MessageDigest object that implements the specified digest
algorithm.
|
static KeyStore |
KeyStore.getInstance(String type)
Returns a keystore object of the specified type.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm)
Returns a KeyPairGenerator object that generates public/private
key pairs for the specified algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm)
Returns a KeyFactory object that converts
public/private keys of the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm)
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm)
Returns an AlgorithmParameterGenerator object for generating
a set of parameters to be used with the specified algorithm.
|
static Policy |
Policy.getInstance(String type,
Policy.Parameters params)
Returns a Policy object of the specified type.
|
static Policy |
Policy.getInstance(String type,
Policy.Parameters params,
Provider provider)
Returns a Policy object of the specified type.
|
static Policy |
Policy.getInstance(String type,
Policy.Parameters params,
String provider)
Returns a Policy object of the specified type.
|
static Signature |
Signature.getInstance(String algorithm,
Provider provider)
Returns a Signature object that implements the specified
signature algorithm.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
Provider provider)
Returns a SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
Provider provider)
Returns a MessageDigest object that implements the specified digest
algorithm.
|
static KeyStore |
KeyStore.getInstance(String type,
Provider provider)
Returns a keystore object of the specified type.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
Provider provider)
Returns a KeyPairGenerator object that generates public/private
key pairs for the specified algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm,
Provider provider)
Returns a KeyFactory object that converts
public/private keys of the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
Provider provider)
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
Provider provider)
Returns an AlgorithmParameterGenerator object for generating
a set of parameters to be used with the specified algorithm.
|
static Signature |
Signature.getInstance(String algorithm,
String provider)
Returns a Signature object that implements the specified signature
algorithm.
|
static SecureRandom |
SecureRandom.getInstance(String algorithm,
String provider)
Returns a SecureRandom object that implements the specified
Random Number Generator (RNG) algorithm.
|
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Returns a MessageDigest object that implements the specified digest
algorithm.
|
static KeyStore |
KeyStore.getInstance(String type,
String provider)
Returns a keystore object of the specified type.
|
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
String provider)
Returns a KeyPairGenerator object that generates public/private
key pairs for the specified algorithm.
|
static KeyFactory |
KeyFactory.getInstance(String algorithm,
String provider)
Returns a KeyFactory object that converts
public/private keys of the specified algorithm.
|
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
String provider)
Returns a parameter object for the specified algorithm.
|
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
String provider)
Returns an AlgorithmParameterGenerator object for generating
a set of parameters to be used with the specified algorithm.
|
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key associated with the given alias, using the given
password to recover it.
|
private Class |
Provider.Service.getKeyClass(String name) |
Object |
Signature.getParameter(String param)
Deprecated.
|
static String |
Security.getProperty(String key)
Gets a security property value.
|
String |
Provider.getProperty(String key) |
abstract KeyStore.ProtectionParameter |
KeyStore.Builder.getProtectionParameter(String alias)
Returns the ProtectionParameters that should be used to obtain
the
Entry with the given alias. |
KeyStore.ProtectionParameter |
KeyStore.Builder.FileBuilder.getProtectionParameter(String alias) |
static Provider |
Security.getProvider(String name)
Returns the provider installed with the specified name, if
any.
|
private static Security.ProviderProperty |
Security.getProviderProperty(String key)
Looks up providers, and returns the property (and its associated
provider) mapping the key, if any.
|
private static String |
Security.getProviderProperty(String key,
Provider provider)
Returns the property (if any) mapping the key for the given provider.
|
static Provider[] |
Security.getProviders(String filter)
Returns an array containing all installed providers that satisfy the
specified selection criterion, or null if no such providers have been
installed.
|
private static LinkedHashSet<Provider> |
Security.getProvidersNotUsingCache(String serviceName,
String algName,
String attrName,
String filterValue,
Provider[] allProviders) |
Provider.Service |
Provider.getService(String type,
String algorithm)
Get the service describing this Provider's implementation of the
specified type of this algorithm or alias.
|
private static Class |
Security.getSpiClass(String type)
Return the Class object for the given engine type
(e.g.
|
private String[] |
Provider.getTypeAndAlgorithm(String key) |
void |
AlgorithmParameters.init(byte[] params,
String format)
Imports the parameters from
params and decodes them
according to the specified decoding scheme. |
private void |
BasicPermission.init(String name)
initialize a BasicPermission object.
|
private static void |
Security.invalidateSMCache(String key) |
boolean |
KeyStore.isCertificateEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setCertificateEntry,
or created by a call to setEntry with a
TrustedCertificateEntry. |
private static boolean |
Security.isConstraintSatisfied(String attribute,
String value,
String prop) |
private static boolean |
Security.isCriterionSatisfied(Provider prov,
String serviceName,
String algName,
String attrName,
String filterValue) |
boolean |
KeyStore.isKeyEntry(String alias)
Returns true if the entry identified by the given alias
was created by a call to
setKeyEntry,
or created by a call to setEntry with a
PrivateKeyEntry or a SecretKeyEntry. |
private static boolean |
Security.isStandardAttr(String attribute) |
(package private) boolean |
Provider.ServiceKey.matches(String type,
String algorithm) |
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
File file,
KeyStore.ProtectionParameter protection)
Returns a new Builder object.
|
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
KeyStore.ProtectionParameter protection)
Returns a new Builder object.
|
private void |
Provider.parseLegacyPut(String name,
String value) |
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives,
String algorithm,
AlgorithmParameters parameters)
Determines whether an algorithm is granted permission for the
specified cryptographic primitives.
|
boolean |
AlgorithmConstraints.permits(Set<CryptoPrimitive> primitives,
String algorithm,
Key key,
AlgorithmParameters parameters)
Determines whether an algorithm and the corresponding key are granted
permission for the specified cryptographic primitives.
|
static void |
Security.removeProvider(String name)
Removes the provider with the specified name.
|
private static File |
Security.securityPropFile(String filename) |
void |
KeyStore.setCertificateEntry(String alias,
Certificate cert)
Assigns the given trusted certificate to the given alias.
|
void |
KeyStore.setEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Saves a keystore
Entry under the specified alias. |
void |
Identity.setInfo(String info)
Deprecated.
Specifies a general information string for this identity.
|
void |
KeyStore.setKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
void |
KeyStore.setKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Assigns the given key to the given alias, protecting it with the given
password.
|
void |
Signature.setParameter(String param,
Object value)
Deprecated.
Use
setParameter. |
static void |
Security.setProperty(String key,
String datum)
Sets a security property value.
|
static KeyRep.Type |
KeyRep.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoPrimitive |
CryptoPrimitive.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
static Provider[] |
Security.getProviders(Map<String,String> filter)
Returns an array containing all installed providers that satisfy the
specified* selection criteria, or null if no such providers have been
installed.
|
static Provider[] |
Security.getProviders(Map<String,String> filter)
Returns an array containing all installed providers that satisfy the
specified* selection criteria, or null if no such providers have been
installed.
|
| Constructor and Description |
|---|
AccessControlException(String s)
Constructs an
AccessControlException with the
specified, detailed message. |
AccessControlException(String s,
Permission p)
Constructs an
AccessControlException with the
specified, detailed message, and the requested permission that caused
the exception. |
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameterGenerator object.
|
AlgorithmParameters(AlgorithmParametersSpi paramSpi,
Provider provider,
String algorithm)
Creates an AlgorithmParameters object.
|
AllPermission(String name,
String actions)
Creates a new AllPermission object.
|
AuthProvider(String name,
double version,
String info)
Constructs a provider with the specified name, version number,
and information.
|
BasicPermission(String name)
Creates a new BasicPermission with the specified name.
|
BasicPermission(String name,
String actions)
Creates a new BasicPermission object with the specified name.
|
DigestException(String msg)
Constructs a DigestException with the specified detail
message.
|
DigestException(String message,
Throwable cause)
Creates a
DigestException with the specified
detail message and cause. |
GeneralSecurityException(String msg)
Constructs a GeneralSecurityException with the specified detail
message.
|
GeneralSecurityException(String message,
Throwable cause)
Creates a
GeneralSecurityException with the specified
detail message and cause. |
Identity(String name)
Deprecated.
Constructs an identity with the specified name and no scope.
|
Identity(String name,
IdentityScope scope)
Deprecated.
Constructs an identity with the specified name and scope.
|
IdentityScope(String name)
Deprecated.
Constructs a new identity scope with the specified name.
|
IdentityScope(String name,
IdentityScope scope)
Deprecated.
Constructs a new identity scope with the specified name and scope.
|
InvalidAlgorithmParameterException(String msg)
Constructs an InvalidAlgorithmParameterException with the specified
detail message.
|
InvalidAlgorithmParameterException(String message,
Throwable cause)
Creates a
InvalidAlgorithmParameterException with the
specified detail message and cause. |
InvalidKeyException(String msg)
Constructs an InvalidKeyException with the specified detail
message.
|
InvalidKeyException(String message,
Throwable cause)
Creates a
InvalidKeyException with the specified
detail message and cause. |
InvalidParameterException(String msg)
Constructs an InvalidParameterException with the specified
detail message.
|
KeyException(String msg)
Constructs a KeyException with the specified detail message.
|
KeyException(String message,
Throwable cause)
Creates a
KeyException with the specified
detail message and cause. |
KeyFactory(KeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a KeyFactory object.
|
KeyFactory(String algorithm) |
KeyManagementException(String msg)
Constructs a KeyManagementException with the specified detail
message.
|
KeyManagementException(String message,
Throwable cause)
Creates a
KeyManagementException with the specified
detail message and cause. |
KeyPairGenerator.Delegate(sun.security.jca.GetInstance.Instance instance,
Iterator<Provider.Service> serviceIterator,
String algorithm) |
KeyPairGenerator.Delegate(KeyPairGeneratorSpi spi,
String algorithm) |
KeyPairGenerator(String algorithm)
Creates a KeyPairGenerator object for the specified algorithm.
|
KeyRep(KeyRep.Type type,
String algorithm,
String format,
byte[] encoded)
Construct the alternate Key class.
|
KeyStore.Builder.FileBuilder(String type,
Provider provider,
File file,
KeyStore.ProtectionParameter protection,
AccessControlContext context) |
KeyStore(KeyStoreSpi keyStoreSpi,
Provider provider,
String type)
Creates a KeyStore object of the given type, and encapsulates the given
provider implementation (SPI object) in it.
|
KeyStoreException(String msg)
Constructs a KeyStoreException with the specified detail
message.
|
KeyStoreException(String message,
Throwable cause)
Creates a
KeyStoreException with the specified
detail message and cause. |
MessageDigest.Delegate(MessageDigestSpi digestSpi,
String algorithm) |
MessageDigest(String algorithm)
Creates a message digest with the specified algorithm name.
|
NoSuchAlgorithmException(String msg)
Constructs a NoSuchAlgorithmException with the specified
detail message.
|
NoSuchAlgorithmException(String message,
Throwable cause)
Creates a
NoSuchAlgorithmException with the specified
detail message and cause. |
NoSuchProviderException(String msg)
Constructs a NoSuchProviderException with the specified detail
message.
|
Permission(String name)
Constructs a permission with the specified name.
|
Policy.PolicyDelegate(PolicySpi spi,
Provider p,
String type,
Policy.Parameters params) |
Provider.EngineDescription(String name,
boolean sp,
String paramName) |
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
Provider.ServiceKey(String type,
String algorithm,
boolean intern) |
Provider.UString(String s) |
Provider(String name,
double version,
String info)
Constructs a provider with the specified name, version number,
and information.
|
ProviderException(String s)
Constructs a ProviderException with the specified detail
message.
|
ProviderException(String message,
Throwable cause)
Creates a
ProviderException with the specified
detail message and cause. |
SecureRandom(SecureRandomSpi secureRandomSpi,
Provider provider,
String algorithm) |
SecurityPermission(String name)
Creates a new SecurityPermission with the specified name.
|
SecurityPermission(String name,
String actions)
Creates a new SecurityPermission object with the specified name.
|
Signature.Delegate(Provider.Service service,
Iterator<Provider.Service> iterator,
String algorithm) |
Signature.Delegate(SignatureSpi sigSpi,
String algorithm) |
Signature(String algorithm)
Creates a Signature object for the specified algorithm.
|
SignatureException(String msg)
Constructs a SignatureException with the specified detail
message.
|
SignatureException(String message,
Throwable cause)
Creates a
SignatureException with the specified
detail message and cause. |
Signer(String name)
Deprecated.
Creates a signer with the specified identity name.
|
Signer(String name,
IdentityScope scope)
Deprecated.
Creates a signer with the specified identity name and scope.
|
UnrecoverableEntryException(String msg)
Constructs an UnrecoverableEntryException with the specified detail
message, which provides more information about why this exception
has been thrown.
|
UnrecoverableKeyException(String msg)
Constructs an UnrecoverableKeyException with the specified detail
message, which provides more information about why this exception
has been thrown.
|
UnresolvedPermission(String type,
String name,
String actions,
Certificate[] certs)
Creates a new UnresolvedPermission containing the permission
information needed later to actually create a Permission of the
specified class, when the permission is resolved.
|
| Constructor and Description |
|---|
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Construct a new service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Acl.getName()
Returns the name of this ACL.
|
String |
Permission.toString()
Prints a string representation of this permission.
|
String |
AclEntry.toString()
Returns a string representation of the contents of this ACL entry.
|
String |
Acl.toString()
Returns a string representation of the
ACL contents.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Acl.setName(Principal caller,
String name)
Sets the name of this ACL.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
CertPathValidator.algorithm |
private String |
CertPathBuilder.algorithm |
private String |
TrustAnchor.caName |
private static String |
CertStore.CERTSTORE_TYPE |
private static String |
CertPathBuilder.CPB_TYPE |
private static String |
CertPathValidator.CPV_TYPE |
private static String[] |
X509CertSelector.EXTENSION_OIDS |
private String |
PolicyQualifierInfo.mId |
private String |
PolicyQualifierInfo.pqiString |
private String |
LDAPCertStoreParameters.serverName
the DNS name of the LDAP server
|
private String |
PKIXParameters.sigProvider |
private String |
CertificateFactory.type |
private String |
Certificate.type |
private String |
Certificate.CertificateRep.type |
private String |
CertStore.type |
private String |
CertPath.type |
private String |
CertPath.CertPathRep.type
The Certificate type
|
private String |
CRL.type |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Extension> |
CertificateRevokedException.extensions |
private Set<String> |
X509CertSelector.keyPurposeSet |
private Set<String> |
X509CertSelector.policySet |
private Set<String> |
PKIXParameters.unmodInitialPolicies |
| Modifier and Type | Method and Description |
|---|---|
String |
CertPathValidator.getAlgorithm()
Returns the algorithm name of this
CertPathValidator. |
String |
CertPathBuilder.getAlgorithm()
Returns the name of the algorithm of this
CertPathBuilder. |
String |
TrustAnchor.getCAName()
Returns the name of the most-trusted CA in RFC 2253
String
format. |
static String |
CertStore.getDefaultType()
Returns the default
CertStore type as specified in the
Java security properties file, or the string "LDAP" if no
such property exists. |
static String |
CertPathValidator.getDefaultType()
Returns the default
CertPathValidator type as specified in
the Java security properties file, or the string "PKIX"
if no such property exists. |
static String |
CertPathBuilder.getDefaultType()
Returns the default
CertPathBuilder type as specified in
the Java security properties file, or the string "PKIX"
if no such property exists. |
String |
Extension.getId()
Gets the extensions's object identifier.
|
String |
X509CertSelector.getIssuerAsString()
Denigrated, use X509CertSelector.getIssuer() or
X509CertSelector.getIssuerAsBytes() instead.
|
String |
CertificateRevokedException.getMessage() |
String |
PolicyQualifierInfo.getPolicyQualifierId()
Returns the
policyQualifierId field of this
PolicyQualifierInfo. |
String |
LDAPCertStoreParameters.getServerName()
Returns the DNS name of the LDAP server.
|
abstract String |
X509Certificate.getSigAlgName()
Gets the signature algorithm name for the certificate
signature algorithm.
|
abstract String |
X509CRL.getSigAlgName()
Gets the signature algorithm name for the CRL
signature algorithm.
|
abstract String |
X509Certificate.getSigAlgOID()
Gets the signature algorithm OID string from the certificate.
|
abstract String |
X509CRL.getSigAlgOID()
Gets the signature algorithm OID string from the CRL.
|
String |
PKIXParameters.getSigProvider()
Returns the signature provider's name, or
null
if not set. |
String |
X509CertSelector.getSubjectAsString()
Denigrated, use X509CertSelector.getSubject() or
X509CertSelector.getSubjectAsBytes() instead.
|
String |
X509CertSelector.getSubjectPublicKeyAlgID()
Returns the subjectPublicKeyAlgID criterion.
|
String |
CertificateFactory.getType()
Returns the name of the certificate type associated with this
certificate factory.
|
String |
Certificate.getType()
Returns the type of this certificate.
|
String |
CertStore.getType()
Returns the type of this
CertStore. |
String |
CertPath.getType()
Returns the type of
Certificates in this certification
path. |
String |
CRL.getType()
Returns the type of this CRL.
|
String |
PolicyNode.getValidPolicy()
Returns the valid policy represented by this node.
|
private static String |
X509CertSelector.keyUsageToString(boolean[] k)
Returns a printable representation of the KeyUsage.
|
String |
X509CertSelector.toString()
Return a printable representation of the
CertSelector. |
String |
X509CRLSelector.toString()
Returns a printable representation of the
X509CRLSelector. |
abstract String |
X509CRLEntry.toString()
Returns a string representation of this CRL entry.
|
String |
TrustAnchor.toString()
Returns a formatted string describing the
TrustAnchor. |
String |
PolicyQualifierInfo.toString()
Return a printable representation of this
PolicyQualifierInfo. |
String |
PKIXParameters.toString()
Returns a formatted string describing the parameters.
|
String |
PKIXCertPathValidatorResult.toString()
Return a printable representation of this
PKIXCertPathValidatorResult. |
String |
PKIXCertPathBuilderResult.toString()
Return a printable representation of this
PKIXCertPathBuilderResult. |
String |
PKIXBuilderParameters.toString()
Returns a formatted string describing the parameters.
|
String |
LDAPCertStoreParameters.toString()
Returns a formatted string describing the parameters.
|
String |
CollectionCertStoreParameters.toString()
Returns a formatted string describing the parameters.
|
abstract String |
Certificate.toString()
Returns a string representation of this certificate.
|
String |
CertPath.toString()
Returns a string representation of this certification path.
|
abstract String |
CRL.toString()
Returns a string representation of this CRL.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<String> |
CertificateFactorySpi.engineGetCertPathEncodings()
Returns an iteration of the
CertPath encodings supported
by this certificate factory, with the default encoding first. |
Iterator<String> |
CertificateFactory.getCertPathEncodings()
Returns an iteration of the
CertPath encodings supported
by this certificate factory, with the default encoding first. |
Set<String> |
X509Extension.getCriticalExtensionOIDs()
Gets a Set of the OID strings for the extension(s) marked
CRITICAL in the certificate/CRL managed by the object
implementing this interface.
|
abstract Iterator<String> |
CertPath.getEncodings()
Returns an iteration of the encodings supported by this certification
path, with the default encoding first.
|
Set<String> |
PolicyNode.getExpectedPolicies()
Returns the set of expected policies that would satisfy this
node's valid policy in the next certificate to be processed.
|
List<String> |
X509Certificate.getExtendedKeyUsage()
Gets an unmodifiable list of Strings representing the OBJECT
IDENTIFIERs of the
ExtKeyUsageSyntax field of the
extended key usage extension, (OID = 2.5.29.37). |
Set<String> |
X509CertSelector.getExtendedKeyUsage()
Returns the extendedKeyUsage criterion.
|
Map<String,Extension> |
CertificateRevokedException.getExtensions()
Returns a map of X.509 extensions containing additional information
about the revoked certificate, such as the Invalidity Date
Extension.
|
Set<String> |
PKIXParameters.getInitialPolicies()
Returns an immutable
Set of initial
policy identifiers (OID strings), indicating that any one of these
policies would be acceptable to the certificate user for the purposes of
certification path processing. |
Set<String> |
X509Extension.getNonCriticalExtensionOIDs()
Gets a Set of the OID strings for the extension(s) marked
NON-CRITICAL in the certificate/CRL managed by the object
implementing this interface.
|
Set<String> |
X509CertSelector.getPolicy()
Returns the policy criterion.
|
abstract Set<String> |
PKIXCertPathChecker.getSupportedExtensions()
Returns an immutable
Set of X.509 certificate extensions
that this PKIXCertPathChecker supports (i.e. |
| Modifier and Type | Method and Description |
|---|---|
void |
X509CRLSelector.addIssuerName(String name)
Denigrated, use
X509CRLSelector.addIssuer(X500Principal) or
X509CRLSelector.addIssuerName(byte[]) instead.
|
void |
X509CertSelector.addPathToName(int type,
String name)
Adds a name to the pathToNames criterion.
|
void |
X509CertSelector.addSubjectAlternativeName(int type,
String name)
Adds a name to the subjectAlternativeNames criterion.
|
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactory.generateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
abstract byte[] |
CertPath.getEncoded(String encoding)
Returns the encoded form of this certification path, using the
specified encoding.
|
byte[] |
X509Extension.getExtensionValue(String oid)
Gets the DER-encoded OCTET string for the extension value
(extnValue) identified by the passed-in
oid
String. |
static CertificateFactory |
CertificateFactory.getInstance(String type)
Returns a certificate factory object that implements the
specified certificate type.
|
static CertPathValidator |
CertPathValidator.getInstance(String algorithm)
Returns a
CertPathValidator object that implements the
specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm)
Returns a
CertPathBuilder object that implements the
specified algorithm. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params)
Returns a
CertStore object that implements the specified
CertStore type and is initialized with the specified
parameters. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
Provider provider)
Returns a
CertStore object that implements the specified
CertStore type. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
String provider)
Returns a
CertStore object that implements the specified
CertStore type. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
Provider provider)
Returns a certificate factory object for the specified
certificate type.
|
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
Provider provider)
Returns a
CertPathValidator object that implements the
specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
Provider provider)
Returns a
CertPathBuilder object that implements the
specified algorithm. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
String provider)
Returns a certificate factory object for the specified
certificate type.
|
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
String provider)
Returns a
CertPathValidator object that implements the
specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
String provider)
Returns a
CertPathBuilder object that implements the
specified algorithm. |
void |
X509CertSelector.setIssuer(String issuerDN)
Denigrated, use X509CertSelector.setIssuer(X500Principal)
or X509CertSelector.setIssuer(byte[]) instead.
|
void |
PKIXParameters.setSigProvider(String sigProvider)
Sets the signature provider's name.
|
void |
X509CertSelector.setSubject(String subjectDN)
Denigrated, use X509CertSelector.setSubject(X500Principal)
or X509CertSelector.setSubject(byte[]) instead.
|
void |
X509CertSelector.setSubjectPublicKeyAlgID(String oid)
Sets the subjectPublicKeyAlgID criterion.
|
static PKIXReason |
PKIXReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertPathValidatorException.BasicReason |
CertPathValidatorException.BasicReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CRLReason |
CRLReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
abstract void |
X509CRL.verify(PublicKey key,
String sigProvider)
Verifies that this CRL was signed using the
private key that corresponds to the given public key.
|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the
private key that corresponds to the specified public key.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
PKIXCertPathChecker.check(Certificate cert,
Collection<String> unresolvedCritExts)
Performs the check(s) on the specified certificate using its internal
state and removes any critical extensions that it processes from the
specified collection of OID strings that represent the unresolved
critical extensions.
|
void |
X509CertSelector.setExtendedKeyUsage(Set<String> keyPurposeSet)
Sets the extendedKeyUsage criterion.
|
void |
PKIXParameters.setInitialPolicies(Set<String> initialPolicies)
Sets the
Set of initial policy identifiers
(OID strings), indicating that any one of these
policies would be acceptable to the certificate user for the purposes of
certification path processing. |
void |
X509CertSelector.setPolicy(Set<String> certPolicySet)
Sets the policy constraint.
|
| Constructor and Description |
|---|
Certificate.CertificateRep(String type,
byte[] data)
Construct the alternate Certificate class with the Certificate
type and Certificate encoding bytes.
|
Certificate(String type)
Creates a certificate of the specified type.
|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail
message.
|
CertificateEncodingException(String message,
Throwable cause)
Creates a
CertificateEncodingException with the specified
detail message and cause. |
CertificateException(String msg)
Constructs a certificate exception with the given detail
message.
|
CertificateException(String message,
Throwable cause)
Creates a
CertificateException with the specified
detail message and cause. |
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail
message.
|
CertificateFactory(CertificateFactorySpi certFacSpi,
Provider provider,
String type)
Creates a CertificateFactory object of the given type, and encapsulates
the given provider implementation (SPI object) in it.
|
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail
message.
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail
message.
|
CertificateParsingException(String message,
Throwable cause)
Creates a
CertificateParsingException with the specified
detail message and cause. |
CertPath.CertPathRep(String type,
byte[] data)
Creates a
CertPathRep with the specified
type and encoded form of a certification path. |
CertPath(String type)
Creates a
CertPath of the specified type. |
CertPathBuilder(CertPathBuilderSpi builderSpi,
Provider provider,
String algorithm)
Creates a
CertPathBuilder object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it. |
CertPathBuilderException(String msg)
Creates a
CertPathBuilderException with the given
detail message. |
CertPathBuilderException(String msg,
Throwable cause)
Creates a
CertPathBuilderException with the specified
detail message and cause. |
CertPathValidator(CertPathValidatorSpi validatorSpi,
Provider provider,
String algorithm)
Creates a
CertPathValidator object of the given algorithm,
and encapsulates the given provider implementation (SPI object) in it. |
CertPathValidatorException(String msg)
Creates a
CertPathValidatorException with the given
detail message. |
CertPathValidatorException(String msg,
Throwable cause)
Creates a
CertPathValidatorException with the specified
detail message and cause. |
CertPathValidatorException(String msg,
Throwable cause,
CertPath certPath,
int index)
Creates a
CertPathValidatorException with the specified
detail message, cause, certification path, and index. |
CertPathValidatorException(String msg,
Throwable cause,
CertPath certPath,
int index,
CertPathValidatorException.Reason reason)
Creates a
CertPathValidatorException with the specified
detail message, cause, certification path, index, and reason. |
CertStore(CertStoreSpi storeSpi,
Provider provider,
String type,
CertStoreParameters params)
Creates a
CertStore object of the given type, and
encapsulates the given provider implementation (SPI object) in it. |
CertStoreException(String msg)
Creates a
CertStoreException with the given detail
message. |
CertStoreException(String msg,
Throwable cause)
Creates a
CertStoreException with the specified detail
message and cause. |
CRL(String type)
Creates a CRL of the specified type.
|
CRLException(String message)
Constructs a CRLException with the specified detail
message.
|
CRLException(String message,
Throwable cause)
Creates a
CRLException with the specified
detail message and cause. |
LDAPCertStoreParameters(String serverName)
Creates an instance of
LDAPCertStoreParameters with the
specified server name and a default port of 389. |
LDAPCertStoreParameters(String serverName,
int port)
Creates an instance of
LDAPCertStoreParameters with the
specified parameter values. |
TrustAnchor(String caName,
PublicKey pubKey,
byte[] nameConstraints)
Creates an instance of
TrustAnchor where the
most-trusted CA is specified as a distinguished name and public key. |
| Constructor and Description |
|---|
CertificateRevokedException(Date revocationDate,
CRLReason reason,
X500Principal authority,
Map<String,Extension> extensions)
Constructs a
CertificateRevokedException with
the specified revocation date, reason code, authority name, and map
of extensions. |
| Modifier and Type | Field and Description |
|---|---|
private String |
PSSParameterSpec.mdName |
private String |
MGF1ParameterSpec.mdName |
private String |
PSSParameterSpec.mgfName |
private String |
ECGenParameterSpec.name |
| Modifier and Type | Method and Description |
|---|---|
String |
PSSParameterSpec.getDigestAlgorithm()
Returns the message digest algorithm name.
|
String |
MGF1ParameterSpec.getDigestAlgorithm()
Returns the algorithm name of the message digest used by the mask
generation function.
|
String |
X509EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
String |
PKCS8EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
abstract String |
EncodedKeySpec.getFormat()
Returns the name of the encoding format associated with this
key specification.
|
String |
PSSParameterSpec.getMGFAlgorithm()
Returns the mask generation function algorithm name.
|
String |
ECGenParameterSpec.getName()
Returns the standard or predefined name of the
to-be-generated EC domain parameters.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
EllipticCurve.checkValidity(ECField field,
BigInteger c,
String cName) |
| Constructor and Description |
|---|
ECGenParameterSpec(String stdName)
Creates a parameter specification for EC parameter
generation using a standard (or predefined) name
stdName in order to generate the corresponding
(precomputed) elliptic curve domain parameters. |
InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException with the specified detail
message.
|
InvalidKeySpecException(String message,
Throwable cause)
Creates a
InvalidKeySpecException with the specified
detail message and cause. |
InvalidParameterSpecException(String msg)
Constructs an InvalidParameterSpecException with the specified detail
message.
|
MGF1ParameterSpec(String mdName)
Constructs a parameter set for mask generation function MGF1
as defined in the PKCS #1 standard.
|
PSSParameterSpec(String mdName,
String mgfName,
AlgorithmParameterSpec mgfSpec,
int saltLen,
int trailerField)
Creates a new
PSSParameterSpec as defined in
the PKCS #1 standard using the specified message digest,
mask generation function, parameters for mask generation
function, salt length, and trailer field values. |
| Modifier and Type | Field and Description |
|---|---|
String[] |
DriverPropertyInfo.choices
An array of possible values if the value for the field
DriverPropertyInfo.value may be selected
from a particular set of values; otherwise null. |
String |
DriverPropertyInfo.description
A brief description of the property, which may be null.
|
String |
DriverPropertyInfo.name
The name of the property.
|
private String |
SQLException.SQLState |
String |
DriverPropertyInfo.value
The
value field specifies the current value of
the property, based on a combination of the information
supplied to the method getPropertyInfo, the
Java environment, and the driver-supplied default values. |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,ClientInfoStatus> |
SQLClientInfoException.failedProperties |
| Modifier and Type | Method and Description |
|---|---|
String |
Ref.getBaseTypeName()
Retrieves the fully-qualified SQL name of the SQL structured type that
this
Ref object references. |
String |
Array.getBaseTypeName()
Retrieves the SQL type name of the elements in
the array designated by this
Array object. |
String |
Connection.getCatalog()
Retrieves this
Connection object's current catalog name. |
String |
ResultSetMetaData.getCatalogName(int column)
Gets the designated column's table's catalog name.
|
String |
DatabaseMetaData.getCatalogSeparator()
Retrieves the
String that this database uses as the
separator between a catalog and table name. |
String |
DatabaseMetaData.getCatalogTerm()
Retrieves the database vendor's preferred term for "catalog".
|
String |
Connection.getClientInfo(String name)
Returns the value of the client info property specified by name.
|
String |
ResultSetMetaData.getColumnClassName(int column)
Returns the fully-qualified name of the Java class whose instances
are manufactured if the method
ResultSet.getObject
is called to retrieve a value
from the column. |
String |
ResultSetMetaData.getColumnLabel(int column)
Gets the designated column's suggested title for use in printouts and
displays.
|
String |
ResultSetMetaData.getColumnName(int column)
Get the designated column's name.
|
String |
ResultSetMetaData.getColumnTypeName(int column)
Retrieves the designated column's database-specific type name.
|
String |
ResultSet.getCursorName()
Retrieves the name of the SQL cursor used by this
ResultSet
object. |
String |
DatabaseMetaData.getDatabaseProductName()
Retrieves the name of this database product.
|
String |
DatabaseMetaData.getDatabaseProductVersion()
Retrieves the version number of this database product.
|
String |
DatabaseMetaData.getDriverName()
Retrieves the name of this JDBC driver.
|
String |
DatabaseMetaData.getDriverVersion()
Retrieves the version number of this JDBC driver as a
String. |
String |
DatabaseMetaData.getExtraNameCharacters()
Retrieves all the "extra" characters that can be used in unquoted
identifier names (those beyond a-z, A-Z, 0-9 and _).
|
String |
DatabaseMetaData.getIdentifierQuoteString()
Retrieves the string used to quote SQL identifiers.
|
String |
ResultSet.getNString(int columnIndex)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getNString(int parameterIndex)
Retrieves the value of the designated
NCHAR,
NVARCHAR
or LONGNVARCHAR parameter as
a String in the Java programming language. |
String |
ResultSet.getNString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getNString(String parameterName)
Retrieves the value of the designated
NCHAR,
NVARCHAR
or LONGNVARCHAR parameter as
a String in the Java programming language. |
String |
DatabaseMetaData.getNumericFunctions()
Retrieves a comma-separated list of math functions available with
this database.
|
String |
ParameterMetaData.getParameterClassName(int param)
Retrieves the fully-qualified name of the Java class whose instances
should be passed to the method
PreparedStatement.setObject. |
String |
ParameterMetaData.getParameterTypeName(int param)
Retrieves the designated parameter's database-specific type name.
|
String |
DatabaseMetaData.getProcedureTerm()
Retrieves the database vendor's preferred term for "procedure".
|
String |
Savepoint.getSavepointName()
Retrieves the name of the savepoint that this
Savepoint
object represents. |
String |
Connection.getSchema()
Retrieves this
Connection object's current schema name. |
String |
ResultSetMetaData.getSchemaName(int column)
Get the designated column's table's schema.
|
String |
DatabaseMetaData.getSchemaTerm()
Retrieves the database vendor's preferred term for "schema".
|
String |
DatabaseMetaData.getSearchStringEscape()
Retrieves the string that can be used to escape wildcard characters.
|
String |
DatabaseMetaData.getSQLKeywords()
Retrieves a comma-separated list of all of this database's SQL keywords
that are NOT also SQL:2003 keywords.
|
String |
SQLException.getSQLState()
Retrieves the SQLState for this
SQLException object. |
String |
Struct.getSQLTypeName()
Retrieves the SQL type name of the SQL structured type
that this
Struct object represents. |
String |
SQLData.getSQLTypeName()
Returns the fully-qualified
name of the SQL user-defined type that this object represents.
|
String |
SQLXML.getString()
Returns a string representation of the XML value designated by this SQLXML instance.
|
String |
ResultSet.getString(int columnIndex)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getString(int parameterIndex)
Retrieves the value of the designated JDBC
CHAR,
VARCHAR, or LONGVARCHAR parameter as a
String in the Java programming language. |
String |
ResultSet.getString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getString(String parameterName)
Retrieves the value of a JDBC
CHAR, VARCHAR,
or LONGVARCHAR parameter as a String in
the Java programming language. |
String |
DatabaseMetaData.getStringFunctions()
Retrieves a comma-separated list of string functions available with
this database.
|
String |
Clob.getSubString(long pos,
int length)
Retrieves a copy of the specified substring
in the
CLOB value
designated by this Clob object. |
String |
DatabaseMetaData.getSystemFunctions()
Retrieves a comma-separated list of system functions available with
this database.
|
String |
ResultSetMetaData.getTableName(int column)
Gets the designated column's table name.
|
String |
DatabaseMetaData.getTimeDateFunctions()
Retrieves a comma-separated list of the time and date functions available
with this database.
|
String |
DatabaseMetaData.getURL()
Retrieves the URL for this DBMS.
|
String |
DatabaseMetaData.getUserName()
Retrieves the user name as known to this database.
|
String |
Connection.nativeSQL(String sql)
Converts the given SQL statement into the system's native SQL grammar.
|
String |
SQLInput.readNString()
Reads the next attribute in the stream and returns it as a
String
in the Java programming language. |
String |
SQLInput.readString()
Reads the next attribute in the stream and returns it as a
String
in the Java programming language. |
String |
Timestamp.toString()
Formats a timestamp in JDBC timestamp escape format.
|
String |
Time.toString()
Formats a time in JDBC time escape format.
|
String |
RowId.toString()
Returns a String representing the value of the SQL ROWID designated by this
java.sql.RowId object. |
String |
DriverInfo.toString() |
String |
Date.toString()
Formats a date in the date escape format yyyy-mm-dd.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ClientInfoStatus> |
SQLClientInfoException.getFailedProperties()
Returns the list of client info properties that could not be set.
|
Map<String,Class<?>> |
Connection.getTypeMap()
Retrieves the
Map object associated with this
Connection object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Driver.acceptsURL(String url)
Retrieves whether the driver thinks that it can open a connection
to the given URL.
|
void |
Statement.addBatch(String sql)
Adds the given SQL command to the current list of commmands for this
Statement object. |
Connection |
Driver.connect(String url,
Properties info)
Attempts to make a database connection to the given URL.
|
Array |
Connection.createArrayOf(String typeName,
Object[] elements)
Factory method for creating Array objects.
|
Struct |
Connection.createStruct(String typeName,
Object[] attributes)
Factory method for creating Struct objects.
|
boolean |
Statement.execute(String sql)
Executes the given SQL statement, which may return multiple results.
|
boolean |
Statement.execute(String sql,
int autoGeneratedKeys)
Executes the given SQL statement, which may return multiple results,
and signals the driver that any
auto-generated keys should be made available
for retrieval.
|
boolean |
Statement.execute(String sql,
int[] columnIndexes)
Executes the given SQL statement, which may return multiple results,
and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
boolean |
Statement.execute(String sql,
String[] columnNames)
Executes the given SQL statement, which may return multiple results,
and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
boolean |
Statement.execute(String sql,
String[] columnNames)
Executes the given SQL statement, which may return multiple results,
and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
ResultSet |
Statement.executeQuery(String sql)
Executes the given SQL statement, which returns a single
ResultSet object. |
int |
Statement.executeUpdate(String sql)
Executes the given SQL statement, which may be an
INSERT,
UPDATE, or DELETE statement or an
SQL statement that returns nothing, such as an SQL DDL statement. |
int |
Statement.executeUpdate(String sql,
int autoGeneratedKeys)
Executes the given SQL statement and signals the driver with the
given flag about whether the
auto-generated keys produced by this
Statement object
should be made available for retrieval. |
int |
Statement.executeUpdate(String sql,
int[] columnIndexes)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
int |
Statement.executeUpdate(String sql,
String[] columnNames)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
int |
Statement.executeUpdate(String sql,
String[] columnNames)
Executes the given SQL statement and signals the driver that the
auto-generated keys indicated in the given array should be made available
for retrieval.
|
int |
ResultSet.findColumn(String columnLabel)
Maps the given
ResultSet column label to its
ResultSet column index. |
Array |
ResultSet.getArray(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as an Array object
in the Java programming language. |
Array |
CallableStatement.getArray(String parameterName)
Retrieves the value of a JDBC
ARRAY parameter as an
Array object in the Java programming language. |
InputStream |
ResultSet.getAsciiStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a stream of
ASCII characters. |
ResultSet |
DatabaseMetaData.getAttributes(String catalog,
String schemaPattern,
String typeNamePattern,
String attributeNamePattern)
Retrieves a description of the given attribute of the given type
for a user-defined type (UDT) that is available in the given schema
and catalog.
|
ResultSet |
DatabaseMetaData.getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
Retrieves a description of a table's optimal set of columns that
uniquely identifies a row.
|
BigDecimal |
ResultSet.getBigDecimal(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.math.BigDecimal with full precision. |
BigDecimal |
CallableStatement.getBigDecimal(String parameterName)
Retrieves the value of a JDBC
NUMERIC parameter as a
java.math.BigDecimal object with as many digits to the
right of the decimal point as the value contains. |
BigDecimal |
ResultSet.getBigDecimal(String columnLabel,
int scale)
Deprecated.
|
InputStream |
ResultSet.getBinaryStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a stream of uninterpreted
bytes. |
Blob |
ResultSet.getBlob(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Blob object
in the Java programming language. |
Blob |
CallableStatement.getBlob(String parameterName)
Retrieves the value of a JDBC
BLOB parameter as a
Blob object in the Java programming language. |
boolean |
ResultSet.getBoolean(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a boolean in the Java programming language. |
boolean |
CallableStatement.getBoolean(String parameterName)
Retrieves the value of a JDBC
BIT or BOOLEAN
parameter as a
boolean in the Java programming language. |
byte |
ResultSet.getByte(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a byte in the Java programming language. |
byte |
CallableStatement.getByte(String parameterName)
Retrieves the value of a JDBC
TINYINT parameter as a byte
in the Java programming language. |
byte[] |
ResultSet.getBytes(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a byte array in the Java programming language. |
byte[] |
CallableStatement.getBytes(String parameterName)
Retrieves the value of a JDBC
BINARY or VARBINARY
parameter as an array of byte values in the Java
programming language. |
Reader |
ResultSet.getCharacterStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.io.Reader object. |
Reader |
CallableStatement.getCharacterStream(String parameterName)
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language. |
String |
Connection.getClientInfo(String name)
Returns the value of the client info property specified by name.
|
Clob |
ResultSet.getClob(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Clob object
in the Java programming language. |
Clob |
CallableStatement.getClob(String parameterName)
Retrieves the value of a JDBC
CLOB parameter as a
java.sql.Clob object in the Java programming language. |
ResultSet |
DatabaseMetaData.getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
Retrieves a description of the access rights for a table's columns.
|
ResultSet |
DatabaseMetaData.getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Retrieves a description of table columns available in
the specified catalog.
|
static Connection |
DriverManager.getConnection(String url)
Attempts to establish a connection to the given database URL.
|
static Connection |
DriverManager.getConnection(String url,
Properties info)
Attempts to establish a connection to the given database URL.
|
private static Connection |
DriverManager.getConnection(String url,
Properties info,
Class<?> caller) |
static Connection |
DriverManager.getConnection(String url,
String user,
String password)
Attempts to establish a connection to the given database URL.
|
ResultSet |
DatabaseMetaData.getCrossReference(String parentCatalog,
String parentSchema,
String parentTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
Retrieves a description of the foreign key columns in the given foreign key
table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table).
|
Date |
ResultSet.getDate(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Date object in the Java programming language. |
Date |
CallableStatement.getDate(String parameterName)
Retrieves the value of a JDBC
DATE parameter as a
java.sql.Date object. |
Date |
ResultSet.getDate(String columnLabel,
Calendar cal)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.sql.Date object
in the Java programming language. |
Date |
CallableStatement.getDate(String parameterName,
Calendar cal)
Retrieves the value of a JDBC
DATE parameter as a
java.sql.Date object, using
the given Calendar object
to construct the date. |
double |
ResultSet.getDouble(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a double in the Java programming language. |
double |
CallableStatement.getDouble(String parameterName)
Retrieves the value of a JDBC
DOUBLE parameter as a double
in the Java programming language. |
static Driver |
DriverManager.getDriver(String url)
Attempts to locate a driver that understands the given URL.
|
ResultSet |
DatabaseMetaData.getExportedKeys(String catalog,
String schema,
String table)
Retrieves a description of the foreign key columns that reference the
given table's primary key columns (the foreign keys exported by a
table).
|
float |
ResultSet.getFloat(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a float in the Java programming language. |
float |
CallableStatement.getFloat(String parameterName)
Retrieves the value of a JDBC
FLOAT parameter as a float
in the Java programming language. |
ResultSet |
DatabaseMetaData.getFunctionColumns(String catalog,
String schemaPattern,
String functionNamePattern,
String columnNamePattern)
Retrieves a description of the given catalog's system or user
function parameters and return type.
|
ResultSet |
DatabaseMetaData.getFunctions(String catalog,
String schemaPattern,
String functionNamePattern)
Retrieves a description of the system and user functions available
in the given catalog.
|
ResultSet |
DatabaseMetaData.getImportedKeys(String catalog,
String schema,
String table)
Retrieves a description of the primary key columns that are
referenced by the given table's foreign key columns (the primary keys
imported by a table).
|
ResultSet |
DatabaseMetaData.getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate)
Retrieves a description of the given table's indices and statistics.
|
int |
ResultSet.getInt(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
an int in the Java programming language. |
int |
CallableStatement.getInt(String parameterName)
Retrieves the value of a JDBC
INTEGER parameter as an int
in the Java programming language. |
long |
ResultSet.getLong(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a long in the Java programming language. |
long |
CallableStatement.getLong(String parameterName)
Retrieves the value of a JDBC
BIGINT parameter as a long
in the Java programming language. |
Reader |
ResultSet.getNCharacterStream(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a
java.io.Reader object. |
Reader |
CallableStatement.getNCharacterStream(String parameterName)
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language. |
NClob |
ResultSet.getNClob(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a NClob object
in the Java programming language. |
NClob |
CallableStatement.getNClob(String parameterName)
Retrieves the value of a JDBC
NCLOB parameter as a
java.sql.NClob object in the Java programming language. |
String |
ResultSet.getNString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getNString(String parameterName)
Retrieves the value of the designated
NCHAR,
NVARCHAR
or LONGNVARCHAR parameter as
a String in the Java programming language. |
Object |
ResultSet.getObject(String columnLabel)
Gets the value of the designated column in the current row
of this
ResultSet object as
an Object in the Java programming language. |
Object |
CallableStatement.getObject(String parameterName)
Retrieves the value of a parameter as an
Object in the Java
programming language. |
<T> T |
ResultSet.getObject(String columnLabel,
Class<T> type)
Retrieves the value of the designated column in the current row
of this
ResultSet object and will convert from the
SQL type of the column to the requested Java data type, if the
conversion is supported. |
<T> T |
CallableStatement.getObject(String parameterName,
Class<T> type)
Returns an object representing the value of OUT parameter
parameterName and will convert from the
SQL type of the parameter to the requested Java data type, if the
conversion is supported. |
Object |
ResultSet.getObject(String columnLabel,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row
of this
ResultSet object as an Object
in the Java programming language. |
Object |
CallableStatement.getObject(String parameterName,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter
parameterName and uses map for the custom
mapping of the parameter value. |
ResultSet |
DatabaseMetaData.getPrimaryKeys(String catalog,
String schema,
String table)
Retrieves a description of the given table's primary key columns.
|
ResultSet |
DatabaseMetaData.getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
Retrieves a description of the given catalog's stored procedure parameter
and result columns.
|
ResultSet |
DatabaseMetaData.getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
Retrieves a description of the stored procedures available in the given
catalog.
|
DriverPropertyInfo[] |
Driver.getPropertyInfo(String url,
Properties info)
Gets information about the possible properties for this driver.
|
ResultSet |
DatabaseMetaData.getPseudoColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Retrieves a description of the pseudo or hidden columns available
in a given table within the specified catalog and schema.
|
Ref |
ResultSet.getRef(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Ref object
in the Java programming language. |
Ref |
CallableStatement.getRef(String parameterName)
Retrieves the value of a JDBC
REF(<structured-type>)
parameter as a Ref object in the Java programming language. |
RowId |
ResultSet.getRowId(String columnLabel)
Retrieves the value of the designated column in the current row of this
ResultSet object as a java.sql.RowId object in the Java
programming language. |
RowId |
CallableStatement.getRowId(String parameterName)
Retrieves the value of the designated JDBC
ROWID parameter as a
java.sql.RowId object. |
ResultSet |
DatabaseMetaData.getSchemas(String catalog,
String schemaPattern)
Retrieves the schema names available in this database.
|
short |
ResultSet.getShort(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a short in the Java programming language. |
short |
CallableStatement.getShort(String parameterName)
Retrieves the value of a JDBC
SMALLINT parameter as a short
in the Java programming language. |
SQLXML |
ResultSet.getSQLXML(String columnLabel)
Retrieves the value of the designated column in the current row of
this
ResultSet as a
java.sql.SQLXML object in the Java programming language. |
SQLXML |
CallableStatement.getSQLXML(String parameterName)
Retrieves the value of the designated
SQL XML parameter as a
java.sql.SQLXML object in the Java programming language. |
String |
ResultSet.getString(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a String in the Java programming language. |
String |
CallableStatement.getString(String parameterName)
Retrieves the value of a JDBC
CHAR, VARCHAR,
or LONGVARCHAR parameter as a String in
the Java programming language. |
ResultSet |
DatabaseMetaData.getSuperTables(String catalog,
String schemaPattern,
String tableNamePattern)
Retrieves a description of the table hierarchies defined in a particular
schema in this database.
|
ResultSet |
DatabaseMetaData.getSuperTypes(String catalog,
String schemaPattern,
String typeNamePattern)
Retrieves a description of the user-defined type (UDT) hierarchies defined in a
particular schema in this database.
|
ResultSet |
DatabaseMetaData.getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
Retrieves a description of the access rights for each table available
in a catalog.
|
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Retrieves a description of the tables available in the given catalog.
|
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Retrieves a description of the tables available in the given catalog.
|
Time |
ResultSet.getTime(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Time object in the Java programming language. |
Time |
CallableStatement.getTime(String parameterName)
Retrieves the value of a JDBC
TIME parameter as a
java.sql.Time object. |
Time |
ResultSet.getTime(String columnLabel,
Calendar cal)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.sql.Time object
in the Java programming language. |
Time |
CallableStatement.getTime(String parameterName,
Calendar cal)
Retrieves the value of a JDBC
TIME parameter as a
java.sql.Time object, using
the given Calendar object
to construct the time. |
Timestamp |
ResultSet.getTimestamp(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as
a java.sql.Timestamp object in the Java programming language. |
Timestamp |
CallableStatement.getTimestamp(String parameterName)
Retrieves the value of a JDBC
TIMESTAMP parameter as a
java.sql.Timestamp object. |
Timestamp |
ResultSet.getTimestamp(String columnLabel,
Calendar cal)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.sql.Timestamp object
in the Java programming language. |
Timestamp |
CallableStatement.getTimestamp(String parameterName,
Calendar cal)
Retrieves the value of a JDBC
TIMESTAMP parameter as a
java.sql.Timestamp object, using
the given Calendar object to construct
the Timestamp object. |
ResultSet |
DatabaseMetaData.getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
Retrieves a description of the user-defined types (UDTs) defined
in a particular schema.
|
InputStream |
ResultSet.getUnicodeStream(String columnLabel)
Deprecated.
use
getCharacterStream instead |
URL |
ResultSet.getURL(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a java.net.URL
object in the Java programming language. |
URL |
CallableStatement.getURL(String parameterName)
Retrieves the value of a JDBC
DATALINK parameter as a
java.net.URL object. |
ResultSet |
DatabaseMetaData.getVersionColumns(String catalog,
String schema,
String table)
Retrieves a description of a table's columns that are automatically
updated when any value in a row is updated.
|
String |
Connection.nativeSQL(String sql)
Converts the given SQL statement into the system's native SQL grammar.
|
long |
Clob.position(String searchstr,
long start)
Retrieves the character position at which the specified substring
searchstr appears in the SQL CLOB value
represented by this Clob object. |
CallableStatement |
Connection.prepareCall(String sql)
Creates a
CallableStatement object for calling
database stored procedures. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a
CallableStatement object that will generate
ResultSet objects with the given type and concurrency. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a
CallableStatement object that will generate
ResultSet objects with the given type and concurrency. |
PreparedStatement |
Connection.prepareStatement(String sql)
Creates a
PreparedStatement object for sending
parameterized SQL statements to the database. |
PreparedStatement |
Connection.prepareStatement(String sql,
int autoGeneratedKeys)
Creates a default
PreparedStatement object that has
the capability to retrieve auto-generated keys. |
PreparedStatement |
Connection.prepareStatement(String sql,
int[] columnIndexes)
Creates a default
PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a
PreparedStatement object that will generate
ResultSet objects with the given type and concurrency. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a
PreparedStatement object that will generate
ResultSet objects with the given type, concurrency,
and holdability. |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default
PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default
PreparedStatement object capable
of returning the auto-generated keys designated by the given array. |
static void |
DriverManager.println(String message)
Prints a message to the current JDBC log stream.
|
void |
SQLData.readSQL(SQLInput stream,
String typeName)
Populates this object with data read from the database.
|
void |
CallableStatement.registerOutParameter(int parameterIndex,
int sqlType,
String typeName)
Registers the designated output parameter.
|
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType)
Registers the OUT parameter named
parameterName to the JDBC type
sqlType. |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
int scale)
Registers the parameter named
parameterName to be of JDBC type
sqlType. |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
String typeName)
Registers the designated output parameter.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBigDecimal(String parameterName,
BigDecimal x)
Sets the designated parameter to the given
java.math.BigDecimal value. |
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
CallableStatement.setBlob(String parameterName,
Blob x)
Sets the designated parameter to the given
java.sql.Blob object. |
void |
CallableStatement.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
CallableStatement.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
CallableStatement.setBoolean(String parameterName,
boolean x)
Sets the designated parameter to the given Java
boolean value. |
void |
CallableStatement.setByte(String parameterName,
byte x)
Sets the designated parameter to the given Java
byte value. |
void |
CallableStatement.setBytes(String parameterName,
byte[] x)
Sets the designated parameter to the given Java array of bytes.
|
void |
Connection.setCatalog(String catalog)
Sets the given catalog name in order to select
a subspace of this
Connection object's database
in which to work. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader)
Sets the designated parameter to the given
Reader
object. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader,
long length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
Connection.setClientInfo(String name,
String value)
Sets the value of the client info property specified by name to the
value specified by value.
|
void |
CallableStatement.setClob(String parameterName,
Clob x)
Sets the designated parameter to the given
java.sql.Clob object. |
void |
CallableStatement.setClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
Statement.setCursorName(String name)
Sets the SQL cursor name to the given
String, which
will be used by subsequent Statement object
execute methods. |
void |
CallableStatement.setDate(String parameterName,
Date x)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
CallableStatement.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Date value,
using the given Calendar object. |
void |
CallableStatement.setDouble(String parameterName,
double x)
Sets the designated parameter to the given Java
double value. |
void |
CallableStatement.setFloat(String parameterName,
float x)
Sets the designated parameter to the given Java
float value. |
void |
CallableStatement.setInt(String parameterName,
int x)
Sets the designated parameter to the given Java
int value. |
void |
CallableStatement.setLong(String parameterName,
long x)
Sets the designated parameter to the given Java
long value. |
void |
CallableStatement.setNCharacterStream(String parameterName,
Reader value)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setNCharacterStream(String parameterName,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setNClob(String parameterName,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
CallableStatement.setNClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
CallableStatement.setNClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
PreparedStatement.setNString(int parameterIndex,
String value)
Sets the designated paramter to the given
String object. |
void |
CallableStatement.setNString(String parameterName,
String value)
Sets the designated parameter to the given
String object. |
void |
PreparedStatement.setNull(int parameterIndex,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL. |
void |
CallableStatement.setNull(String parameterName,
int sqlType)
Sets the designated parameter to SQL
NULL. |
void |
CallableStatement.setNull(String parameterName,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL. |
void |
CallableStatement.setObject(String parameterName,
Object x)
Sets the value of the designated parameter with the given object.
|
void |
CallableStatement.setObject(String parameterName,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object.
|
void |
CallableStatement.setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
Sets the value of the designated parameter with the given object.
|
void |
CallableStatement.setRowId(String parameterName,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
Savepoint |
Connection.setSavepoint(String name)
Creates a savepoint with the given name in the current transaction
and returns the new
Savepoint object that represents it. |
void |
Connection.setSchema(String schema)
Sets the given schema name to access.
|
void |
CallableStatement.setShort(String parameterName,
short x)
Sets the designated parameter to the given Java
short value. |
void |
CallableStatement.setSQLXML(String parameterName,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
PreparedStatement.setString(int parameterIndex,
String x)
Sets the designated parameter to the given Java
String value. |
int |
Clob.setString(long pos,
String str)
Writes the given Java
String to the CLOB
value that this Clob object designates at the position
pos. |
int |
Clob.setString(long pos,
String str,
int offset,
int len)
Writes
len characters of str, starting
at character offset, to the CLOB value
that this Clob represents. |
void |
SQLXML.setString(String value)
Sets the XML value designated by this SQLXML instance to the given String representation.
|
void |
CallableStatement.setString(String parameterName,
String x)
Sets the designated parameter to the given Java
String value. |
void |
CallableStatement.setTime(String parameterName,
Time x)
Sets the designated parameter to the given
java.sql.Time value. |
void |
CallableStatement.setTime(String parameterName,
Time x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Time value,
using the given Calendar object. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp x)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Timestamp value,
using the given Calendar object. |
void |
CallableStatement.setURL(String parameterName,
URL val)
Sets the designated parameter to the given
java.net.URL object. |
void |
ResultSet.updateArray(String columnLabel,
Array x)
Updates the designated column with a
java.sql.Array value. |
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x)
Updates the designated column with an ascii stream value.
|
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x,
int length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateAsciiStream(String columnLabel,
InputStream x,
long length)
Updates the designated column with an ascii stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBigDecimal(String columnLabel,
BigDecimal x)
Updates the designated column with a
java.sql.BigDecimal
value. |
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x)
Updates the designated column with a binary stream value.
|
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x,
int length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBinaryStream(String columnLabel,
InputStream x,
long length)
Updates the designated column with a binary stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateBlob(String columnLabel,
Blob x)
Updates the designated column with a
java.sql.Blob value. |
void |
ResultSet.updateBlob(String columnLabel,
InputStream inputStream)
Updates the designated column using the given input stream.
|
void |
ResultSet.updateBlob(String columnLabel,
InputStream inputStream,
long length)
Updates the designated column using the given input stream, which
will have the specified number of bytes.
|
void |
ResultSet.updateBoolean(String columnLabel,
boolean x)
Updates the designated column with a
boolean value. |
void |
ResultSet.updateByte(String columnLabel,
byte x)
Updates the designated column with a
byte value. |
void |
ResultSet.updateBytes(String columnLabel,
byte[] x)
Updates the designated column with a byte array value.
|
void |
ResultSet.updateCharacterStream(String columnLabel,
Reader reader)
Updates the designated column with a character stream value.
|
void |
ResultSet.updateCharacterStream(String columnLabel,
Reader reader,
int length)
Updates the designated column with a character stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateCharacterStream(String columnLabel,
Reader reader,
long length)
Updates the designated column with a character stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateClob(String columnLabel,
Clob x)
Updates the designated column with a
java.sql.Clob value. |
void |
ResultSet.updateClob(String columnLabel,
Reader reader)
Updates the designated column using the given
Reader
object. |
void |
ResultSet.updateClob(String columnLabel,
Reader reader,
long length)
Updates the designated column using the given
Reader
object, which is the given number of characters long. |
void |
ResultSet.updateDate(String columnLabel,
Date x)
Updates the designated column with a
java.sql.Date value. |
void |
ResultSet.updateDouble(String columnLabel,
double x)
Updates the designated column with a
double value. |
void |
ResultSet.updateFloat(String columnLabel,
float x)
Updates the designated column with a
float value. |
void |
ResultSet.updateInt(String columnLabel,
int x)
Updates the designated column with an
int value. |
void |
ResultSet.updateLong(String columnLabel,
long x)
Updates the designated column with a
long value. |
void |
ResultSet.updateNCharacterStream(String columnLabel,
Reader reader)
Updates the designated column with a character stream value.
|
void |
ResultSet.updateNCharacterStream(String columnLabel,
Reader reader,
long length)
Updates the designated column with a character stream value, which will have
the specified number of bytes.
|
void |
ResultSet.updateNClob(String columnLabel,
NClob nClob)
Updates the designated column with a
java.sql.NClob value. |
void |
ResultSet.updateNClob(String columnLabel,
Reader reader)
Updates the designated column using the given
Reader
object. |
void |
ResultSet.updateNClob(String columnLabel,
Reader reader,
long length)
Updates the designated column using the given
Reader
object, which is the given number of characters long. |
void |
ResultSet.updateNString(int columnIndex,
String nString)
Updates the designated column with a
String value. |
void |
ResultSet.updateNString(String columnLabel,
String nString)
Updates the designated column with a
String value. |
void |
ResultSet.updateNull(String columnLabel)
Updates the designated column with a
null value. |
void |
ResultSet.updateObject(String columnLabel,
Object x)
Updates the designated column with an
Object value. |
void |
ResultSet.updateObject(String columnLabel,
Object x,
int scaleOrLength)
Updates the designated column with an
Object value. |
void |
ResultSet.updateRef(String columnLabel,
Ref x)
Updates the designated column with a
java.sql.Ref value. |
void |
ResultSet.updateRowId(String columnLabel,
RowId x)
Updates the designated column with a
RowId value. |
void |
ResultSet.updateShort(String columnLabel,
short x)
Updates the designated column with a
short value. |
void |
ResultSet.updateSQLXML(String columnLabel,
SQLXML xmlObject)
Updates the designated column with a
java.sql.SQLXML value. |
void |
ResultSet.updateString(int columnIndex,
String x)
Updates the designated column with a
String value. |
void |
ResultSet.updateString(String columnLabel,
String x)
Updates the designated column with a
String value. |
void |
ResultSet.updateTime(String columnLabel,
Time x)
Updates the designated column with a
java.sql.Time value. |
void |
ResultSet.updateTimestamp(String columnLabel,
Timestamp x)
Updates the designated column with a
java.sql.Timestamp
value. |
static Timestamp |
Timestamp.valueOf(String s)
Converts a
String object in JDBC timestamp escape format to a
Timestamp value. |
static Time |
Time.valueOf(String s)
Converts a string in JDBC time escape format to a
Time value. |
static RowIdLifetime |
RowIdLifetime.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PseudoColumnUsage |
PseudoColumnUsage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Date |
Date.valueOf(String s)
Converts a string in JDBC date escape format to
a
Date value. |
static ClientInfoStatus |
ClientInfoStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
void |
SQLOutput.writeNString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
void |
SQLOutput.writeString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
| Modifier and Type | Method and Description |
|---|---|
Object |
Array.getArray(long index,
int count,
Map<String,Class<?>> map)
Retreives a slice of the SQL
ARRAY value
designated by this Array object, beginning with the specified
index and containing up to count
successive elements of the SQL array. |
Object |
Array.getArray(Map<String,Class<?>> map)
Retrieves the contents of the SQL
ARRAY value designated by this
Array object. |
Object[] |
Struct.getAttributes(Map<String,Class<?>> map)
Produces the ordered values of the attributes of the SQL
structured type that this
Struct object represents. |
Object |
ResultSet.getObject(int columnIndex,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row
of this
ResultSet object as an Object
in the Java programming language. |
Object |
CallableStatement.getObject(int parameterIndex,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter
parameterIndex and uses map for the custom
mapping of the parameter value. |
Object |
Ref.getObject(Map<String,Class<?>> map)
Retrieves the referenced object and maps it to a Java type
using the given type map.
|
Object |
ResultSet.getObject(String columnLabel,
Map<String,Class<?>> map)
Retrieves the value of the designated column in the current row
of this
ResultSet object as an Object
in the Java programming language. |
Object |
CallableStatement.getObject(String parameterName,
Map<String,Class<?>> map)
Returns an object representing the value of OUT parameter
parameterName and uses map for the custom
mapping of the parameter value. |
ResultSet |
Array.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Retrieves a result set holding the elements of the subarray that
starts at index
index and contains up to
count successive elements. |
ResultSet |
Array.getResultSet(Map<String,Class<?>> map)
Retrieves a result set that contains the elements of the SQL
ARRAY value designated by this Array object. |
void |
Connection.setTypeMap(Map<String,Class<?>> map)
Installs the given
TypeMap object as the type map for
this Connection object. |
| Constructor and Description |
|---|
BatchUpdateException(String reason,
int[] updateCounts)
Constructs a
BatchUpdateException object initialized with a given
reason and updateCounts. |
BatchUpdateException(String reason,
int[] updateCounts,
Throwable cause)
Constructs a
BatchUpdateException object initialized with
a given reason, cause
and updateCounts. |
BatchUpdateException(String reason,
String SQLState,
int[] updateCounts)
Constructs a
BatchUpdateException object initialized with a given
reason, SQLState and
updateCounts. |
BatchUpdateException(String reason,
String SQLState,
int[] updateCounts,
Throwable cause)
Constructs a
BatchUpdateException object initialized with
a given reason, SQLState,cause, and
updateCounts. |
BatchUpdateException(String reason,
String SQLState,
int vendorCode,
int[] updateCounts)
Constructs a
BatchUpdateException object initialized with a given
reason, SQLState, vendorCode and
updateCounts. |
BatchUpdateException(String reason,
String SQLState,
int vendorCode,
int[] updateCounts,
Throwable cause)
Constructs a
BatchUpdateException object initialized with
a given reason, SQLState, vendorCode
cause and updateCounts. |
DriverPropertyInfo(String name,
String value)
Constructs a
DriverPropertyInfo object with a given
name and value. |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason and failedProperties. |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason, cause and
failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState,
vendorCode and failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState,
cause, vendorCode and
failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState and
failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState, cause
and failedProperties. |
SQLDataException(String reason)
Constructs a
SQLDataException object with a given
reason. |
SQLDataException(String reason,
String SQLState)
Constructs a
SQLDataException object with a given
reason and SQLState. |
SQLDataException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLDataException object with a given
reason, SQLState and
vendorCode. |
SQLDataException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLDataException object with a given
reason, SQLState, vendorCode
and cause. |
SQLDataException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLDataException object with a given
reason, SQLState and cause. |
SQLDataException(String reason,
Throwable cause)
Constructs a
SQLDataException object with a given
reason and cause. |
SQLException(String reason)
Constructs a
SQLException object with a given
reason. |
SQLException(String reason,
String SQLState)
Constructs a
SQLException object with a given
reason and SQLState. |
SQLException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLException object with a given
reason, SQLState and
vendorCode. |
SQLException(String reason,
String sqlState,
int vendorCode,
Throwable cause)
Constructs a
SQLException object with a given
reason, SQLState, vendorCode
and cause. |
SQLException(String reason,
String sqlState,
Throwable cause)
Constructs a
SQLException object with a given
reason, SQLState and cause. |
SQLException(String reason,
Throwable cause)
Constructs a
SQLException object with a given
reason and cause. |
SQLFeatureNotSupportedException(String reason)
Constructs a
SQLFeatureNotSupportedException object
with a given reason. |
SQLFeatureNotSupportedException(String reason,
String SQLState)
Constructs a
SQLFeatureNotSupportedException object
with a given reason and SQLState. |
SQLFeatureNotSupportedException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLFeatureNotSupportedException object
with a given reason, SQLState and
vendorCode. |
SQLFeatureNotSupportedException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLFeatureNotSupportedException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLFeatureNotSupportedException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLFeatureNotSupportedException object
with a given
reason, SQLState and cause. |
SQLFeatureNotSupportedException(String reason,
Throwable cause)
Constructs a
SQLFeatureNotSupportedException object
with a given
reason and cause. |
SQLIntegrityConstraintViolationException(String reason)
Constructs a
SQLIntegrityConstraintViolationException
with a given reason. |
SQLIntegrityConstraintViolationException(String reason,
String SQLState)
Constructs a
SQLIntegrityConstraintViolationException
object with a given reason and SQLState. |
SQLIntegrityConstraintViolationException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLIntegrityConstraintViolationException object
with a given reason, SQLState and
vendorCode. |
SQLIntegrityConstraintViolationException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLIntegrityConstraintViolationException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLIntegrityConstraintViolationException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLIntegrityConstraintViolationException object
with a given
reason, SQLState and cause. |
SQLIntegrityConstraintViolationException(String reason,
Throwable cause)
Constructs a
SQLIntegrityConstraintViolationException object
with a given
reason and cause. |
SQLInvalidAuthorizationSpecException(String reason)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given reason. |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given reason and SQLState. |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given reason, SQLState and
vendorCode. |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLInvalidAuthorizationSpecException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given
reason, SQLState and cause. |
SQLInvalidAuthorizationSpecException(String reason,
Throwable cause)
Constructs a
SQLInvalidAuthorizationSpecException object
with a given
reason and cause. |
SQLNonTransientConnectionException(String reason)
Constructs a
SQLNonTransientConnectionException object
with a given reason. |
SQLNonTransientConnectionException(String reason,
String SQLState)
Constructs a
SQLNonTransientConnectionException object
with a given reason and SQLState. |
SQLNonTransientConnectionException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLNonTransientConnectionException object
with a given reason, SQLState and
vendorCode. |
SQLNonTransientConnectionException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLNonTransientConnectionException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLNonTransientConnectionException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLNonTransientConnectionException object
with a given
reason, SQLState and cause. |
SQLNonTransientConnectionException(String reason,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason and cause. |
SQLNonTransientException(String reason)
Constructs a
SQLNonTransientException object
with a given reason. |
SQLNonTransientException(String reason,
String SQLState)
Constructs a
SQLNonTransientException object
with a given reason and SQLState. |
SQLNonTransientException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLNonTransientException object
with a given reason, SQLState and
vendorCode. |
SQLNonTransientException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLNonTransientException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLNonTransientException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLNonTransientException object
with a given
reason, SQLState and cause. |
SQLNonTransientException(String reason,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason and cause. |
SQLPermission(String name)
Creates a new
SQLPermission object with the specified name. |
SQLPermission(String name,
String actions)
Creates a new
SQLPermission object with the specified name. |
SQLRecoverableException(String reason)
Constructs a
SQLRecoverableException object
with a given reason. |
SQLRecoverableException(String reason,
String SQLState)
Constructs a
SQLRecoverableException object
with a given reason and SQLState. |
SQLRecoverableException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLRecoverableException object
with a given reason, SQLState and
vendorCode. |
SQLRecoverableException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLRecoverableException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLRecoverableException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLRecoverableException object
with a given
reason, SQLState and cause. |
SQLRecoverableException(String reason,
Throwable cause)
Constructs a
SQLRecoverableException object
with a given
reason and cause. |
SQLSyntaxErrorException(String reason)
Constructs a
SQLSyntaxErrorException object
with a given reason. |
SQLSyntaxErrorException(String reason,
String SQLState)
Constructs a
SQLSyntaxErrorException object
with a given reason and SQLState. |
SQLSyntaxErrorException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLSyntaxErrorException object
with a given reason, SQLState and
vendorCode. |
SQLSyntaxErrorException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLSyntaxErrorException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLSyntaxErrorException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLSyntaxErrorException object
with a given
reason, SQLState and cause. |
SQLSyntaxErrorException(String reason,
Throwable cause)
Constructs a
SQLSyntaxErrorException object
with a given
reason and cause. |
SQLTimeoutException(String reason)
Constructs a
SQLTimeoutException object
with a given reason. |
SQLTimeoutException(String reason,
String SQLState)
Constructs a
SQLTimeoutException object
with a given reason and SQLState. |
SQLTimeoutException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTimeoutException object
with a given reason, SQLState and
vendorCode. |
SQLTimeoutException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTimeoutException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLTimeoutException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTimeoutException object
with a given
reason, SQLState and cause. |
SQLTimeoutException(String reason,
Throwable cause)
Constructs a
SQLTimeoutException object
with a given
reason and cause. |
SQLTransactionRollbackException(String reason)
Constructs a
SQLTransactionRollbackException object
with a given reason. |
SQLTransactionRollbackException(String reason,
String SQLState)
Constructs a
SQLTransactionRollbackException object
with a given reason and SQLState. |
SQLTransactionRollbackException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTransactionRollbackException object
with a given reason, SQLState and
vendorCode. |
SQLTransactionRollbackException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTransactionRollbackException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLTransactionRollbackException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTransactionRollbackException object
with a given
reason, SQLState and cause. |
SQLTransactionRollbackException(String reason,
Throwable cause)
Constructs a
SQLTransactionRollbackException object
with a given
reason and cause. |
SQLTransientConnectionException(String reason)
Constructs a
SQLTransientConnectionException object
with a given reason. |
SQLTransientConnectionException(String reason,
String SQLState)
Constructs a
SQLTransientConnectionException object
with a given reason and SQLState. |
SQLTransientConnectionException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTransientConnectionException object
with a given reason, SQLState and
vendorCode. |
SQLTransientConnectionException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTransientConnectionException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLTransientConnectionException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTransientConnectionException object
with a given
reason, SQLState and cause. |
SQLTransientConnectionException(String reason,
Throwable cause)
Constructs a
SQLTransientConnectionException object
with a given
reason and cause. |
SQLTransientException(String reason)
Constructs a
SQLTransientException object
with a given reason. |
SQLTransientException(String reason,
String SQLState)
Constructs a
SQLTransientException object
with a given reason and SQLState. |
SQLTransientException(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLTransientException object
with a given reason, SQLState and
vendorCode. |
SQLTransientException(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason, SQLState, vendorCode
and cause. |
SQLTransientException(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason, SQLState and cause. |
SQLTransientException(String reason,
Throwable cause)
Constructs a
SQLTransientException object
with a given
reason and cause. |
SQLWarning(String reason)
Constructs a
SQLWarning object
with a given reason. |
SQLWarning(String reason,
String SQLState)
Constructs a
SQLWarning object
with a given reason and SQLState. |
SQLWarning(String reason,
String SQLState,
int vendorCode)
Constructs a
SQLWarning object
with a given reason, SQLState and
vendorCode. |
SQLWarning(String reason,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a
SQLWarning object
with a given
reason, SQLState, vendorCode
and cause. |
SQLWarning(String reason,
String SQLState,
Throwable cause)
Constructs a
SQLWarning object
with a given
reason, SQLState and cause. |
SQLWarning(String reason,
Throwable cause)
Constructs a
SQLWarning object
with a given
reason and cause. |
| Constructor and Description |
|---|
SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given failedProperties. |
SQLClientInfoException(Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with
a given cause and failedProperties. |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason and failedProperties. |
SQLClientInfoException(String reason,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason, cause and
failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState,
vendorCode and failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
int vendorCode,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState,
cause, vendorCode and
failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState and
failedProperties. |
SQLClientInfoException(String reason,
String SQLState,
Map<String,ClientInfoStatus> failedProperties,
Throwable cause)
Constructs a
SQLClientInfoException object initialized with a
given reason, SQLState, cause
and failedProperties. |
| Modifier and Type | Field and Description |
|---|---|
(package private) String[] |
DateFormatSymbols.ampms
AM and PM strings.
|
(package private) String |
PatternEntry.chars |
private String[] |
ChoiceFormat.choiceFormats
A list of choice strings.
|
private String |
DecimalFormatSymbols.currencySymbol
String denoting the local currency, e.g.
|
private static String[] |
MessageFormat.DATE_TIME_MODIFIER_KEYWORDS |
(package private) static String |
CollationRules.DEFAULTRULES |
String |
EntryPair.entryName |
(package private) String[] |
DateFormatSymbols.eras
Era strings.
|
private String |
DecimalFormatSymbols.exponentialSeparator
The string used to separate the mantissa from the exponent.
|
(package private) String |
PatternEntry.extension |
private static String |
SimpleDateFormat.GMT |
private String |
DecimalFormatSymbols.infinity
String used to represent infinity.
|
private String |
DecimalFormatSymbols.intlCurrencySymbol
ISO 4217 currency code denoting the local currency, e.g.
|
private String |
RuleBasedCollationKey.key |
(package private) String |
DateFormatSymbols.localPatternChars
Localized date-time pattern characters.
|
(package private) String[] |
DateFormatSymbols.months
Month strings.
|
private String |
AttributedCharacterIterator.Attribute.name
The name of this
Attribute. |
private String |
DecimalFormatSymbols.NaN
String used to represent "not a number".
|
private String |
DecimalFormat.negativePrefix
The symbol used as a prefix when formatting negative numbers, e.g.
|
private String |
DecimalFormat.negativeSuffix
The symbol used as a suffix when formatting negative numbers.
|
private String |
DecimalFormat.negPrefixPattern
The prefix pattern for negative numbers.
|
private String |
DecimalFormat.negSuffixPattern
The suffix pattern for negative numbers.
|
private static String[] |
MessageFormat.NUMBER_MODIFIER_KEYWORDS |
private String |
SimpleDateFormat.originalNumberPattern |
private String |
SimpleDateFormat.pattern
The pattern string of this formatter.
|
private String |
PatternEntry.Parser.pattern |
private String |
MessageFormat.pattern
The string that the formatted values are to be plugged into.
|
private static String |
DecimalFormat.PATTERN_EXPONENT |
(package private) static String |
DateFormatSymbols.patternChars
Unlocalized date-time pattern characters.
|
private String |
DecimalFormat.positivePrefix
The symbol used as a prefix when formatting positive numbers, e.g.
|
private String |
DecimalFormat.positiveSuffix
The symbol used as a suffix when formatting positive numbers.
|
private String |
DecimalFormat.posPrefixPattern
The prefix pattern for non-negative numbers.
|
private String |
DecimalFormat.posSuffixPattern
The suffix pattern for non-negative numbers.
|
private String |
RBCollationTables.rules |
(package private) String[] |
DateFormatSymbols.shortMonths
Short month strings.
|
(package private) String[] |
DateFormatSymbols.shortWeekdays
Short weekday strings.
|
private String |
CollationKey.source |
private String |
StringCharacterIterator.text |
(package private) String |
AttributedString.text |
private static String[] |
MessageFormat.TYPE_KEYWORDS |
(package private) String[] |
DateFormatSymbols.weekdays
Weekday strings.
|
(package private) String[][] |
DateFormatSymbols.zoneStrings
Localized names of time zones in this locale.
|
| Modifier and Type | Field and Description |
|---|---|
private static ConcurrentMap<Locale,String> |
DecimalFormat.cachedLocaleData
Cache to hold the NumberPattern of a Locale.
|
| Modifier and Type | Method and Description |
|---|---|
private String[] |
ChoiceFormat.doubleArraySize(String[] array) |
String |
MergeCollation.emitPattern()
emits the pattern for collation builder.
|
String |
MergeCollation.emitPattern(boolean withWhiteSpace)
emits the pattern for collation builder.
|
private String |
DecimalFormat.expandAffix(String pattern,
StringBuffer buffer)
Expand an affix pattern into an affix string.
|
String |
DateFormat.format(Date date)
Formats a Date into a date/time string.
|
String |
NumberFormat.format(double number)
Specialization of format.
|
String |
NumberFormat.format(long number)
Specialization of format.
|
String |
Format.format(Object obj)
Formats an object to produce a string.
|
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
String[] |
DateFormatSymbols.getAmPmStrings()
Gets ampm strings.
|
private String |
SimpleDateFormat.getCalendarName() |
(package private) String |
PatternEntry.getChars()
Gets the core characters of the entry.
|
String |
DecimalFormatSymbols.getCurrencySymbol()
Returns the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
String[] |
DateFormatSymbols.getEras()
Gets era strings.
|
String |
DecimalFormatSymbols.getExponentSeparator()
Returns the string used to separate the mantissa from the exponent.
|
(package private) String |
PatternEntry.getExtension()
Gets the expanding characters of the entry.
|
String |
DecimalFormatSymbols.getInfinity()
Gets the string used to represent infinity.
|
String |
DecimalFormatSymbols.getInternationalCurrencySymbol()
Returns the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
String |
DateFormatSymbols.getLocalPatternChars()
Gets localized date-time pattern characters.
|
String[] |
DateFormatSymbols.getMonths()
Gets month strings.
|
protected String |
AttributedCharacterIterator.Attribute.getName()
Returns the name of the attribute.
|
String |
DecimalFormatSymbols.getNaN()
Gets the string used to represent "not a number".
|
String |
DecimalFormat.getNegativePrefix()
Get the negative prefix.
|
String |
DecimalFormat.getNegativeSuffix()
Get the negative suffix.
|
String |
MergeCollation.getPattern()
recovers current pattern
|
String |
MergeCollation.getPattern(boolean withWhiteSpace)
recovers current pattern.
|
String |
DecimalFormat.getPositivePrefix()
Get the positive prefix.
|
String |
DecimalFormat.getPositiveSuffix()
Get the positive suffix.
|
String |
RuleBasedCollator.getRules()
Gets the table-based rules for the collation object.
|
String |
RBCollationTables.getRules()
Gets the table-based rules for the collation object.
|
String[] |
DateFormatSymbols.getShortMonths()
Gets short month strings.
|
String[] |
DateFormatSymbols.getShortWeekdays()
Gets short weekday strings.
|
String |
CollationKey.getSourceString()
Returns the String that this CollationKey represents.
|
String[] |
DateFormatSymbols.getWeekdays()
Gets weekday strings.
|
String[][] |
DateFormatSymbols.getZoneStrings()
Gets time zone strings.
|
private String[][] |
DateFormatSymbols.getZoneStringsImpl(boolean needsCopy) |
(package private) String[][] |
DateFormatSymbols.getZoneStringsWrapper()
Wrapper method to the getZoneStrings(), which is called from inside
the java.text package and not to mutate the returned arrays, so that
it does not need to create a defensive copy.
|
static String |
Normalizer.normalize(CharSequence src,
Normalizer.Form form)
Normalize a sequence of char values.
|
String |
SimpleDateFormat.toLocalizedPattern()
Returns a localized pattern string describing this date format.
|
String |
DecimalFormat.toLocalizedPattern()
Synthesizes a localized pattern string that represents the current
state of this Format object.
|
private static String[] |
DateFormatSymbols.toOneBasedArray(String[] src) |
String |
SimpleDateFormat.toPattern()
Returns a pattern string describing this date format.
|
String |
MessageFormat.toPattern()
Returns a pattern representing the current state of the message format.
|
String |
DecimalFormat.toPattern()
Synthesizes a pattern string that represents the current state
of this Format object.
|
String |
ChoiceFormat.toPattern()
Gets the pattern.
|
private String |
DecimalFormat.toPattern(boolean localized)
Does the real work of generating a pattern.
|
String |
RuleBasedBreakIterator.toString()
Returns text
|
String |
PatternEntry.toString()
For debugging.
|
String |
ParsePosition.toString()
Return a string representation of this ParsePosition.
|
String |
FieldPosition.toString()
Return a string representation of this FieldPosition.
|
String |
DigitList.toString() |
String |
CalendarBuilder.toString() |
String |
Bidi.toString()
Display the bidi internal state, used in debugging.
|
String |
AttributedCharacterIterator.Attribute.toString()
Returns a string representation of the object.
|
String |
AttributeEntry.toString() |
String |
Annotation.toString()
Returns the String representation of this Annotation.
|
private String |
SimpleDateFormat.translatePattern(String pattern,
String from,
String to)
Translates a pattern, mapping each character in the from string to the
corresponding character in the to string.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
RBTableBuilder.addContractFlags(String chars) |
private void |
RBTableBuilder.addContractOrder(String groupChars,
int anOrder) |
private void |
RBTableBuilder.addContractOrder(String groupChars,
int anOrder,
boolean fwd)
Adds the contracting string into the collation table.
|
private void |
RBTableBuilder.addExpandOrder(int ch,
String expandChars,
int anOrder) |
private void |
RBTableBuilder.addExpandOrder(String contractChars,
String expandChars,
int anOrder)
Adds the expanding string into the collation table.
|
private int |
RBTableBuilder.addExpansion(int anOrder,
String expandChars)
Create a new entry in the expansion table that contains the orderings
for the given characers.
|
void |
MergeCollation.addPattern(String pattern)
adds a pattern to the current one.
|
private void |
DecimalFormat.append(StringBuffer result,
String string,
Format.FieldDelegate delegate,
FieldPosition[] positions,
Format.Field signAttribute)
Appends the String
string to result. |
private void |
DecimalFormat.appendAffix(StringBuffer buffer,
String affix,
boolean localized)
Append an affix to the given StringBuffer, using quotes if
there are special characters.
|
private void |
DecimalFormat.appendAffix(StringBuffer buffer,
String affixPattern,
String expAffix,
boolean localized)
Appends an affix pattern to the given StringBuffer, quoting special
characters as needed.
|
(package private) static void |
PatternEntry.appendQuoted(String chars,
StringBuffer toAddTo) |
void |
SimpleDateFormat.applyLocalizedPattern(String pattern)
Applies the given localized pattern string to this date format.
|
void |
DecimalFormat.applyLocalizedPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
SimpleDateFormat.applyPattern(String pattern)
Applies the given pattern string to this date format.
|
void |
MessageFormat.applyPattern(String pattern)
Sets the pattern used by this message format.
|
void |
DecimalFormat.applyPattern(String pattern)
Apply the given pattern to this Format object.
|
void |
ChoiceFormat.applyPattern(String newPattern)
Sets the pattern.
|
private void |
DecimalFormat.applyPattern(String pattern,
boolean localized)
Does the real work of applying a pattern.
|
void |
RBTableBuilder.build(String pattern,
int decmp)
Create a table-based collation object with the given rules.
|
int |
RuleBasedCollator.compare(String source,
String target)
Compares the character data stored in two different strings based on the
collation rules.
|
abstract int |
Collator.compare(String source,
String target)
Compares the source string to the target string according to the
collation rules for this Collator.
|
private char[] |
SimpleDateFormat.compile(String pattern)
Returns the compiled form of the given pattern.
|
private static void |
MessageFormat.copyAndFixQuotes(String source,
int start,
int end,
StringBuilder target) |
(package private) AttributedCharacterIterator |
Format.createAttributedCharacterIterator(String s)
Creates an
AttributedCharacterIterator for the String
s. |
(package private) AttributedCharacterIterator |
Format.createAttributedCharacterIterator(String string,
AttributedCharacterIterator.Attribute key,
Object value)
Returns an AttributedCharacterIterator with the String
string and additional key/value pair key,
value. |
private static BreakIterator |
BreakIterator.createBreakInstance(Locale locale,
int type,
String dataName,
String dictionaryName) |
private String[] |
ChoiceFormat.doubleArraySize(String[] array) |
boolean |
Collator.equals(String source,
String target)
Convenience method for comparing the equality of two strings based on
this Collator's collation rules.
|
private FieldPosition[] |
DecimalFormat.expandAffix(String pattern)
Expand an affix pattern into an array of FieldPositions describing
how the pattern would be expanded.
|
private String |
DecimalFormat.expandAffix(String pattern,
StringBuffer buffer)
Expand an affix pattern into an affix string.
|
private static int |
MessageFormat.findKeyword(String s,
String[] list) |
private static int |
MessageFormat.findKeyword(String s,
String[] list) |
static String |
MessageFormat.format(String pattern,
Object... arguments)
Creates a MessageFormat with the given pattern and uses it
to format the given arguments.
|
private static BreakIterator |
BreakIterator.getBreakInstance(Locale locale,
int type,
String dataName,
String dictionaryName) |
private static ResourceBundle |
BreakIterator.getBundle(String baseName,
Locale locale) |
CollationElementIterator |
RuleBasedCollator.getCollationElementIterator(String source)
Return a CollationElementIterator for the given String.
|
CollationKey |
RuleBasedCollator.getCollationKey(String source)
Transforms the string into a series of characters that can be compared
with CollationKey.compareTo.
|
abstract CollationKey |
Collator.getCollationKey(String source)
Transforms the String into a series of bits that can be compared bitwise
to other CollationKeys.
|
private int |
RBTableBuilder.getContractOrder(String groupChars)
If the given string has been specified as a contracting string
in this collation table, return its ordering.
|
(package private) static int |
RBCollationTables.getEntry(Vector list,
String name,
boolean fwd) |
AttributedCharacterIterator |
CharacterIteratorFieldDelegate.getIterator(String string)
Returns an
AttributedCharacterIterator that can be used
to iterate over the resulting formatted String. |
BreakIterator |
BreakIterator.BreakIteratorGetter.getObject(BreakIteratorProvider breakIteratorProvider,
Locale locale,
String key,
Object... params) |
Collator |
Collator.CollatorGetter.getObject(CollatorProvider collatorProvider,
Locale locale,
String key,
Object... params) |
DateFormat |
DateFormat.DateFormatGetter.getObject(DateFormatProvider dateFormatProvider,
Locale locale,
String key,
Object... params) |
DateFormatSymbols |
DateFormatSymbols.DateFormatSymbolsGetter.getObject(DateFormatSymbolsProvider dateFormatSymbolsProvider,
Locale locale,
String key,
Object... params) |
DecimalFormatSymbols |
DecimalFormatSymbols.DecimalFormatSymbolsGetter.getObject(DecimalFormatSymbolsProvider decimalFormatSymbolsProvider,
Locale locale,
String key,
Object... params) |
NumberFormat |
NumberFormat.NumberFormatGetter.getObject(NumberFormatProvider numberFormatProvider,
Locale locale,
String key,
Object... params) |
(package private) int |
DateFormatSymbols.getZoneIndex(String ID)
Package private: used by SimpleDateFormat
Gets the index for the given time zone ID to obtain the time zone
strings for formatting.
|
private boolean |
SimpleDateFormat.matchDSTString(String text,
int start,
int zoneIndex,
int standardIndex,
String[][] zoneStrings) |
private boolean |
SimpleDateFormat.matchDSTString(String text,
int start,
int zoneIndex,
int standardIndex,
String[][] zoneStrings) |
private int |
SimpleDateFormat.matchString(String text,
int start,
int field,
Map<String,Integer> data,
CalendarBuilder calb)
Performs the same thing as matchString(String, int, int,
String[]).
|
private int |
SimpleDateFormat.matchString(String text,
int start,
int field,
String[] data,
CalendarBuilder calb)
Private code-size reduction function used by subParse.
|
private int |
SimpleDateFormat.matchString(String text,
int start,
int field,
String[] data,
CalendarBuilder calb)
Private code-size reduction function used by subParse.
|
private int |
SimpleDateFormat.matchZoneString(String text,
int start,
String[] zoneNames) |
private int |
SimpleDateFormat.matchZoneString(String text,
int start,
String[] zoneNames) |
Number |
NumberFormat.parse(String source)
Parses text from the beginning of the given string to produce a number.
|
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object
array.
|
Date |
DateFormat.parse(String source)
Parses text from the beginning of the given string to produce a date.
|
Date |
SimpleDateFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Date. |
abstract Number |
NumberFormat.parse(String source,
ParsePosition parsePosition)
Returns a Long if possible (e.g., within the range [Long.MIN_VALUE,
Long.MAX_VALUE] and with no decimals), otherwise a Double.
|
Object[] |
MessageFormat.parse(String source,
ParsePosition pos)
Parses the string.
|
Number |
DecimalFormat.parse(String text,
ParsePosition pos)
Parses text from a string to produce a
Number. |
abstract Date |
DateFormat.parse(String source,
ParsePosition pos)
Parse a date/time string according to the given parse position.
|
Number |
ChoiceFormat.parse(String text,
ParsePosition status)
Parses a Number from the input text.
|
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object.
|
Object |
NumberFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Number. |
Object |
MessageFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object array.
|
abstract Object |
Format.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce an object.
|
Object |
DateFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Date. |
private void |
BreakDictionary.readDictionaryFile(String dictionaryName) |
protected byte[] |
RuleBasedBreakIterator.readFile(String datafile) |
protected void |
RuleBasedBreakIterator.readTables(String datafile)
Read datafile.
|
(package private) void |
DigitList.set(boolean isNegative,
String s,
int maximumDigits,
boolean fixedPoint)
Generate a representation of the form DDDDD, DDDDD.DDDDD, or
DDDDDE+/-DDDDD.
|
void |
DateFormatSymbols.setAmPmStrings(String[] newAmpms)
Sets ampm strings.
|
void |
ChoiceFormat.setChoices(double[] limits,
String[] formats)
Set the choices to be used in formatting.
|
void |
DecimalFormatSymbols.setCurrencySymbol(String currency)
Sets the currency symbol for the currency of these
DecimalFormatSymbols in their locale.
|
void |
DateFormatSymbols.setEras(String[] newEras)
Sets era strings.
|
void |
DecimalFormatSymbols.setExponentSeparator(String exp)
Sets the string used to separate the mantissa from the exponent.
|
void |
DecimalFormatSymbols.setInfinity(String infinity)
Sets the string used to represent infinity.
|
void |
DecimalFormatSymbols.setInternationalCurrencySymbol(String currencyCode)
Sets the ISO 4217 currency code of the currency of these
DecimalFormatSymbols.
|
void |
DateFormatSymbols.setLocalPatternChars(String newLocalPatternChars)
Sets localized date-time pattern characters.
|
void |
DateFormatSymbols.setMonths(String[] newMonths)
Sets month strings.
|
void |
DecimalFormatSymbols.setNaN(String NaN)
Sets the string used to represent "not a number".
|
void |
DecimalFormat.setNegativePrefix(String newValue)
Set the negative prefix.
|
void |
DecimalFormat.setNegativeSuffix(String newValue)
Set the negative suffix.
|
void |
MergeCollation.setPattern(String pattern)
sets the pattern.
|
void |
DecimalFormat.setPositivePrefix(String newValue)
Set the positive prefix.
|
void |
DecimalFormat.setPositiveSuffix(String newValue)
Set the positive suffix.
|
void |
DateFormatSymbols.setShortMonths(String[] newShortMonths)
Sets short month strings.
|
void |
DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays)
Sets short weekday strings.
|
void |
StringCharacterIterator.setText(String text)
Reset this iterator to point to a new string.
|
void |
CollationElementIterator.setText(String source)
Set a new string over which to iterate.
|
void |
BreakIterator.setText(String newText)
Set a new text string to be scanned.
|
void |
DateFormatSymbols.setWeekdays(String[] newWeekdays)
Sets weekday strings.
|
void |
DateFormatSymbols.setZoneStrings(String[][] newZoneStrings)
Sets time zone strings.
|
private int |
SimpleDateFormat.subParse(String text,
int start,
int patternCharIndex,
int count,
boolean obeyCount,
boolean[] ambiguousYear,
ParsePosition origPos,
boolean useFollowingMinusSignAsDelimiter,
CalendarBuilder calb)
Private member function that converts the parsed date strings into
timeFields.
|
private boolean |
DecimalFormat.subparse(String text,
ParsePosition parsePosition,
String positivePrefix,
String negativePrefix,
DigitList digits,
boolean isExponent,
boolean[] status)
Parse the given text into a number.
|
private int |
SimpleDateFormat.subParseNumericZone(String text,
int start,
int sign,
int count,
boolean colon,
CalendarBuilder calb)
Parses numeric forms of time zone offset, such as "hh:mm", and
sets calb to the parsed value.
|
private int |
SimpleDateFormat.subParseZoneString(String text,
int start,
CalendarBuilder calb)
find time zone 'text' matched zoneStrings and set to internal
calendar.
|
private static String[] |
DateFormatSymbols.toOneBasedArray(String[] src) |
private String |
SimpleDateFormat.translatePattern(String pattern,
String from,
String to)
Translates a pattern, mapping each character in the from string to the
corresponding character in the to string.
|
static Normalizer.Form |
Normalizer.Form.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
private int |
SimpleDateFormat.matchString(String text,
int start,
int field,
Map<String,Integer> data,
CalendarBuilder calb)
Performs the same thing as matchString(String, int, int,
String[]).
|
| Constructor and Description |
|---|
AttributedCharacterIterator.Attribute(String name)
Constructs an
Attribute with the given name. |
AttributedString(String text)
Constructs an AttributedString instance with the given text.
|
AttributedString(String text,
Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
Constructs an AttributedString instance with the given text and attributes.
|
Bidi(String paragraph,
int flags)
Create Bidi from the given paragraph of text and base direction.
|
BreakDictionary(String dictionaryName) |
ChoiceFormat(double[] limits,
String[] formats)
Constructs with the limits and the corresponding formats.
|
ChoiceFormat(String newPattern)
Constructs with limits and corresponding formats based on the pattern.
|
CollationElementIterator(String sourceText,
RuleBasedCollator owner)
CollationElementIterator constructor.
|
CollationKey(String source)
CollationKey constructor.
|
DateFormat.Field(String name,
int calendarField)
Creates a
Field. |
DecimalFormat(String pattern)
Creates a DecimalFormat using the given pattern and the symbols
for the default locale.
|
DecimalFormat(String pattern,
DecimalFormatSymbols symbols)
Creates a DecimalFormat using the given pattern and symbols.
|
DictionaryBasedBreakIterator(String dataFile,
String dictionaryFile)
Constructs a DictionaryBasedBreakIterator.
|
EntryPair(String name,
int value) |
EntryPair(String name,
int value,
boolean fwd) |
Format.Field(String name)
Creates a Field with the specified name.
|
MergeCollation(String pattern)
Creates from a pattern
|
MessageFormat.Field(String name)
Creates a Field with the specified name.
|
MessageFormat(String pattern)
Constructs a MessageFormat for the default locale and the
specified pattern.
|
MessageFormat(String pattern,
Locale locale)
Constructs a MessageFormat for the specified locale and
pattern.
|
NumberFormat.Field(String name)
Creates a Field instance with the specified
name.
|
ParseException(String s,
int errorOffset)
Constructs a ParseException with the specified detail message and
offset.
|
PatternEntry.Parser(String pattern) |
RBCollationTables(String rules,
int decmp) |
RuleBasedBreakIterator(String datafile)
Constructs a RuleBasedBreakIterator according to the datafile
provided.
|
RuleBasedCollationKey(String source,
String key)
A RuleBasedCollationKey can only be generated by Collator objects.
|
RuleBasedCollator(String rules)
RuleBasedCollator constructor.
|
RuleBasedCollator(String rules,
int decomp)
RuleBasedCollator constructor.
|
SimpleDateFormat(String pattern)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the default locale. |
SimpleDateFormat(String pattern,
DateFormatSymbols formatSymbols)
Constructs a
SimpleDateFormat using the given pattern and
date format symbols. |
SimpleDateFormat(String pattern,
Locale locale)
Constructs a
SimpleDateFormat using the given pattern and
the default date format symbols for the given locale. |
StringCharacterIterator(String text)
Constructs an iterator with an initial index of 0.
|
StringCharacterIterator(String text,
int pos)
Constructs an iterator with the specified initial index.
|
StringCharacterIterator(String text,
int begin,
int end,
int pos)
Constructs an iterator over the given range of the given string, with the
index set at the specified position.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
PropertyPermission.actions
The actions string.
|
private static String |
Scanner.BOOLEAN_PATTERN |
private String |
MissingResourceException.className
The class name of the resource bundle requested by the user.
|
(package private) String |
Locale.Category.countryKey |
private String |
Currency.currencyCode
ISO 4217 currency code for this currency.
|
private String |
Scanner.decimalSeparator |
private String |
StringTokenizer.delimiters |
private String |
Scanner.digits |
private static String |
XMLUtils.EXTERNAL_XML_VERSION
Version number for the format of exported properties files.
|
private String |
FormatFlagsConversionMismatchException.f |
private static String[] |
Calendar.FIELD_NAME |
private String |
UnknownFormatFlagsException.flags |
private String |
IllegalFormatFlagsException.flags |
private String |
DuplicateFormatFlagsException.flags |
private String |
ResourceBundle.CacheKey.format |
private static String |
Formatter.formatSpecifier |
(package private) static String |
TimeZone.GMT_ID |
private String |
Scanner.groupSeparator
Locale dependent values used to scan numbers
|
private String |
Scanner.hasNextResult |
private String |
TimeZone.ID
The string identifier of this
TimeZone. |
private String |
Scanner.infinityString |
private static String[] |
Locale.isoCountries |
(package private) static String |
LocaleISOData.isoCountryTable
The 2- and 3-letter ISO 3166 country codes.
|
private static String[] |
Locale.isoLanguages |
(package private) static String |
LocaleISOData.isoLanguageTable
The 2- and 3-letter ISO 639 language codes.
|
private String |
MissingResourceException.key
The name of the specific resource requested by the user.
|
(package private) String |
Locale.Category.languageKey |
private static String |
Scanner.LINE_PATTERN |
private static String |
Scanner.LINE_SEPARATOR_PATTERN |
private String |
ResourceBundle.name
The base bundle name for this bundle.
|
private String |
ResourceBundle.CacheKey.name |
private String |
Scanner.nanString |
private String |
Scanner.negativePrefix |
private String |
Scanner.negativeSuffix |
(package private) String |
ServiceLoader.LazyIterator.nextName |
private String |
Scanner.non0Digit |
(package private) static String |
Currency.otherCurrencies |
private String |
Scanner.positivePrefix |
private String |
Scanner.positiveSuffix |
private static String |
ServiceLoader.PREFIX |
private static String |
XMLUtils.PROPS_DTD |
private static String |
XMLUtils.PROPS_DTD_URI |
private String |
UnknownFormatConversionException.s |
private String |
MissingFormatWidthException.s |
private String |
MissingFormatArgumentException.s |
private String |
Formatter.FixedString.s |
(package private) static String[] |
Currency.scNewCurrencies |
(package private) static String[] |
Currency.scOldCurrencies |
(package private) String |
Locale.Category.scriptKey |
private String |
StringTokenizer.str |
(package private) String |
Locale.Category.variantKey |
private static String[] |
Date.wtb |
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,SoftReference<Map<Locale,String[]>>> |
TimeZone.DisplayNames.CACHE |
static List<String> |
ResourceBundle.Control.FORMAT_CLASS
The class-only format
List containing
"java.class". |
static List<String> |
ResourceBundle.Control.FORMAT_DEFAULT
The default format
List, which contains the strings
"java.class" and "java.properties", in
this order. |
static List<String> |
ResourceBundle.Control.FORMAT_PROPERTIES
The properties-only format
List containing
"java.properties". |
private List<String> |
ResourceBundle.SingleFormatControl.formats |
private static ConcurrentMap<String,Currency> |
Currency.instances |
private Set<String> |
ResourceBundle.keySet
A Set of the keys contained only in this ResourceBundle.
|
private Map<String,Object> |
PropertyResourceBundle.lookup |
private Map<String,Object> |
ListResourceBundle.lookup |
private sun.misc.LRUCache<String,Pattern> |
Scanner.patternCache |
(package private) Iterator<String> |
ServiceLoader.LazyIterator.pending |
private LinkedHashMap<String,S> |
ServiceLoader.providers |
| Modifier and Type | Method and Description |
|---|---|
private String |
Collections.CheckedCollection.badElementMsg(Object o) |
private String |
Collections.CheckedMap.badKeyMsg(Object key) |
private String |
Collections.CheckedMap.badValueMsg(Object value) |
private String |
Collections.CheckedMap.CheckedEntrySet.CheckedEntry.badValueMsg(Object value) |
private String |
Scanner.buildIntegerPatternString() |
private static String[] |
Locale.composeList(MessageFormat format,
String[] list)
Given a list of strings, return a list shortened to three elements.
|
private static String |
Locale.convertOldISOCodes(String language) |
static String |
Arrays.deepToString(Object[] a)
Returns a string representation of the "deep contents" of the specified
array.
|
private static String |
UUID.digits(long val,
int digits)
Returns val represented by the specified number of hex digits.
|
String |
Scanner.findInLine(Pattern pattern)
Attempts to find the next occurrence of the specified pattern ignoring
delimiters.
|
String |
Scanner.findInLine(String pattern)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
private String |
Scanner.findPatternInBuffer(Pattern pattern,
int horizon) |
String |
Scanner.findWithinHorizon(Pattern pattern,
int horizon)
Attempts to find the next occurrence of the specified pattern.
|
String |
Scanner.findWithinHorizon(String pattern,
int horizon)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
private static String |
Locale.formatList(String[] stringList,
String listPattern,
String listCompositionPattern)
Format a list using given pattern strings.
|
String |
PropertyPermission.getActions()
Returns the "canonical string representation" of the actions.
|
(package private) static String |
PropertyPermission.getActions(int mask)
Return the canonical string representation of the actions.
|
static String[] |
TimeZone.getAvailableIDs()
Gets all the available IDs supported.
|
static String[] |
TimeZone.getAvailableIDs(int rawOffset)
Gets the available IDs according to the given time zone offset in milliseconds.
|
private String |
Scanner.getCachedResult() |
String |
MissingResourceException.getClassName()
Gets parameter passed by constructor.
|
private String |
Scanner.getCompleteTokenInBuffer(Pattern pattern) |
String |
UnknownFormatConversionException.getConversion()
Returns the unknown conversion.
|
String |
Locale.getCountry()
Returns the country/region code for this locale, which should
either be the empty string, an uppercase ISO 3166 2-letter code,
or a UN M.49 3-digit code.
|
String |
Currency.getCurrencyCode()
Gets the ISO 4217 currency code of this currency.
|
String |
Locale.getDisplayCountry()
Returns a name for the locale's country that is appropriate for display to the
user.
|
String |
Locale.getDisplayCountry(Locale inLocale)
Returns a name for the locale's country that is appropriate for display to the
user.
|
String |
Locale.getDisplayLanguage()
Returns a name for the locale's language that is appropriate for display to the
user.
|
String |
Locale.getDisplayLanguage(Locale inLocale)
Returns a name for the locale's language that is appropriate for display to the
user.
|
String |
TimeZone.getDisplayName()
Returns a long standard time name of this
TimeZone suitable for
presentation to the user in the default locale. |
String |
Locale.getDisplayName()
Returns a name for the locale that is appropriate for display to the
user.
|
String |
Currency.getDisplayName()
Gets the name that is suitable for displaying this currency for
the default locale.
|
String |
TimeZone.getDisplayName(boolean daylight,
int style)
Returns a name in the specified
style of this TimeZone
suitable for presentation to the user in the default locale. |
String |
TimeZone.getDisplayName(boolean daylight,
int style,
Locale locale)
Returns a name in the specified
style of this TimeZone
suitable for presentation to the user in the specified locale. |
String |
JapaneseImperialCalendar.getDisplayName(int field,
int style,
Locale locale) |
String |
Calendar.getDisplayName(int field,
int style,
Locale locale)
Returns the string representation of the calendar
field value in the given style and
locale. |
String |
TimeZone.getDisplayName(Locale locale)
Returns a long standard time name of this
TimeZone suitable for
presentation to the user in the specified locale. |
String |
Locale.getDisplayName(Locale inLocale)
Returns a name for the locale that is appropriate for display
to the user.
|
String |
Currency.getDisplayName(Locale locale)
Gets the name that is suitable for displaying this currency for
the specified locale.
|
private static String[] |
TimeZone.getDisplayNames(String id,
Locale locale) |
String |
Locale.getDisplayScript()
Returns a name for the the locale's script that is appropriate for display to
the user.
|
String |
Locale.getDisplayScript(Locale inLocale)
Returns a name for the locale's script that is appropriate
for display to the user.
|
private String |
Locale.getDisplayString(String code,
Locale inLocale,
int type) |
String |
Locale.getDisplayVariant()
Returns a name for the locale's variant code that is appropriate for display to the
user.
|
String |
Locale.getDisplayVariant(Locale inLocale)
Returns a name for the locale's variant code that is appropriate for display to the
user.
|
private String[] |
Locale.getDisplayVariantArray(OpenListResourceBundle bundle,
Locale inLocale)
Return an array of the display names of the variant.
|
String |
Locale.getExtension(char key)
Returns the extension (or private use) value associated with
the specified key, or null if there is no extension
associated with the key.
|
(package private) static String |
Calendar.getFieldName(int field)
Returns the name of the specified calendar field.
|
private String[] |
Calendar.getFieldStrings(int field,
int style,
DateFormatSymbols symbols) |
String |
UnknownFormatFlagsException.getFlags()
Returns the set of flags which contains an unknown flag.
|
String |
IllegalFormatFlagsException.getFlags()
Returns the set of flags which contains an illegal combination.
|
String |
FormatFlagsConversionMismatchException.getFlags()
Returns the incompatible flag.
|
String |
DuplicateFormatFlagsException.getFlags()
Returns the set of flags which contains a duplicate flag.
|
(package private) String |
ResourceBundle.CacheKey.getFormat() |
String |
MissingFormatWidthException.getFormatSpecifier()
Returns the format specifier which does not have a width.
|
String |
MissingFormatArgumentException.getFormatSpecifier()
Returns the unmatched format specifier.
|
String |
TimeZone.getID()
Gets the ID of this time zone.
|
private static String[] |
Locale.getISO2Table(String table) |
private static String |
Locale.getISO3Code(String iso2Code,
String table) |
String |
Locale.getISO3Country()
Returns a three-letter abbreviation for this locale's country.
|
String |
Locale.getISO3Language()
Returns a three-letter abbreviation of this locale's language.
|
static String[] |
Locale.getISOCountries()
Returns a list of all 2-letter country codes defined in ISO 3166.
|
static String[] |
Locale.getISOLanguages()
Returns a list of all 2-letter language codes defined in ISO 639.
|
String |
MissingResourceException.getKey()
Gets parameter passed by constructor.
|
private String |
JapaneseImperialCalendar.getKey(int field,
int style) |
String |
Locale.getLanguage()
Returns the language code of this Locale.
|
String |
UnknownFormatFlagsException.getMessage() |
String |
UnknownFormatConversionException.getMessage() |
String |
MissingFormatWidthException.getMessage() |
String |
MissingFormatArgumentException.getMessage() |
String |
IllegalFormatWidthException.getMessage() |
String |
IllegalFormatPrecisionException.getMessage() |
String |
IllegalFormatFlagsException.getMessage() |
String |
IllegalFormatConversionException.getMessage() |
String |
IllegalFormatCodePointException.getMessage() |
String |
FormatFlagsConversionMismatchException.getMessage() |
String |
DuplicateFormatFlagsException.getMessage() |
(package private) String |
ResourceBundle.CacheKey.getName() |
String |
Currency.CurrencyNameGetter.getObject(CurrencyNameProvider currencyNameProvider,
Locale locale,
String key,
Object... params) |
String |
Locale.LocaleNameGetter.getObject(LocaleNameProvider localeNameProvider,
Locale locale,
String key,
Object... params) |
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list.
|
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
String |
Locale.getScript()
Returns the script for this locale, which should
either be the empty string or an ISO 15924 4-letter script
code.
|
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
String |
Currency.getSymbol()
Gets the symbol of this currency for the default locale.
|
String |
Currency.getSymbol(Locale locale)
Gets the symbol of this currency for the specified locale.
|
private static String |
TimeZone.getSystemGMTOffsetID()
Gets the custom time zone ID based on the GMT offset of the
platform.
|
private static String |
TimeZone.getSystemTimeZoneID(String javaHome,
String country)
Gets the platform defined TimeZone ID.
|
String |
Locale.getUnicodeLocaleType(String key)
Returns the Unicode locale type associated with the specified Unicode locale key
for this locale.
|
String |
Locale.getVariant()
Returns the variant code for this locale.
|
private String |
Formatter.FormatSpecifier.hexDouble(double d,
int prec) |
private String |
Formatter.FormatSpecifier.justify(String s) |
private String |
Properties.loadConvert(char[] in,
int off,
int len,
char[] convtBuf) |
private String |
Scanner.matchPatternInBuffer(Pattern pattern) |
String |
Scanner.next()
Finds and returns the next complete token from this scanner.
|
String |
Scanner.next(Pattern pattern)
Returns the next token if it matches the specified pattern.
|
String |
Scanner.next(String pattern)
Returns the next token if it matches the pattern constructed from the
specified string.
|
String |
Scanner.nextLine()
Advances this scanner past the current line and returns the input
that was skipped.
|
String |
StringTokenizer.nextToken()
Returns the next token from this string tokenizer.
|
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
private String |
SubList.outOfBoundsMsg(int index) |
private String |
LinkedList.outOfBoundsMsg(int index)
Constructs an IndexOutOfBoundsException detail message.
|
private String |
ArrayList.outOfBoundsMsg(int index)
Constructs an IndexOutOfBoundsException detail message.
|
private String |
ArrayList.SubList.outOfBoundsMsg(int index) |
private String |
AbstractList.outOfBoundsMsg(int index) |
private String |
Scanner.processFloatToken(String token)
The float token must be stripped of prefixes, group separators,
and suffixes, non ascii digits must be converted into ascii digits
before parseFloat will accept it.
|
private String |
Scanner.processIntegerToken(String token)
The integer token must be stripped of prefixes, group separators,
and suffixes, non ascii digits must be converted into ascii digits
before parse will accept it.
|
private static String[] |
Currency.readStringArray(DataInputStream dis,
int count) |
private String |
Properties.saveConvert(String theString,
boolean escapeSpace,
boolean escapeUnicode) |
String |
ResourceBundle.Control.toBundleName(String baseName,
Locale locale)
Converts the given
baseName and locale
to the bundle name. |
String |
Date.toGMTString()
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date), using a
GMT TimeZone. |
String |
Locale.toLanguageTag()
Returns a well-formed IETF BCP 47 language tag representing
this locale.
|
String |
Date.toLocaleString()
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.format(Date date). |
String |
ResourceBundle.Control.toResourceName(String bundleName,
String suffix)
Converts the given
bundleName to the form required
by the ClassLoader.getResource
method by replacing all occurrences of '.' in
bundleName with '/' and appending a
'.' and the given file suffix. |
private String |
ResourceBundle.Control.toResourceName0(String bundleName,
String suffix) |
String |
WeakHashMap.Entry.toString() |
String |
Vector.toString()
Returns a string representation of this Vector, containing
the String representation of each element.
|
String |
UUID.toString()
Returns a
String object representing this UUID. |
String |
TreeMap.Entry.toString() |
String |
SimpleTimeZone.toString()
Returns a string representation of this time zone.
|
String |
ServiceLoader.toString()
Returns a string describing this service.
|
String |
Scanner.toString()
Returns the string representation of this
Scanner. |
String |
ResourceBundle.CacheKey.toString() |
String |
Locale.toString()
Returns a string representation of this
Locale
object, consisting of language, country, variant, script,
and extensions as below: |
String |
IdentityHashMap.EntryIterator.Entry.toString() |
String |
Hashtable.toString()
Returns a string representation of this Hashtable object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space).
|
String |
Hashtable.Entry.toString() |
String |
HashMap.Entry.toString() |
String |
Formatter.toString()
Returns the result of invoking
toString() on the destination
for the output. |
String |
Formatter.FormatString.toString() |
String |
Formatter.FixedString.toString() |
String |
Formatter.FormatSpecifier.toString() |
String |
Formatter.Flags.toString() |
String |
EventObject.toString()
Returns a String representation of this EventObject.
|
String |
EnumMap.EntryIterator.Entry.toString() |
String |
Date.toString()
Converts this
Date object to a String
of the form:
|
String |
Currency.toString()
Returns the ISO 4217 currency code of this currency.
|
String |
Collections.UnmodifiableCollection.toString() |
String |
Collections.UnmodifiableMap.toString() |
String |
Collections.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry.toString() |
String |
Collections.SynchronizedCollection.toString() |
String |
Collections.SynchronizedMap.toString() |
String |
Collections.CheckedCollection.toString() |
String |
Collections.CheckedMap.toString() |
String |
Collections.CheckedMap.CheckedEntrySet.toString() |
String |
Collections.CheckedMap.CheckedEntrySet.CheckedEntry.toString() |
String |
Collections.SetFromMap.toString() |
String |
Collections.AsLIFOQueue.toString() |
String |
Calendar.toString()
Return a string representation of this calendar.
|
String |
BitSet.toString()
Returns a string representation of this bit set.
|
String |
AbstractMap.toString()
Returns a string representation of this map.
|
String |
AbstractMap.SimpleEntry.toString()
Returns a String representation of this map entry.
|
String |
AbstractMap.SimpleImmutableEntry.toString()
Returns a String representation of this map entry.
|
String |
AbstractCollection.toString()
Returns a string representation of this collection.
|
static String |
Arrays.toString(boolean[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(byte[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(char[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(double[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(float[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Formatter.Flags.toString(Formatter.Flags f) |
static String |
Arrays.toString(int[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Arrays.toString(long[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Objects.toString(Object o)
Returns the result of calling
toString for a non-null argument and "null" for a null argument. |
static String |
Arrays.toString(Object[] a)
Returns a string representation of the contents of the specified array.
|
static String |
Objects.toString(Object o,
String nullDefault)
Returns the result of calling
toString on the first
argument if the first argument is not null and returns
the second argument otherwise. |
static String |
Arrays.toString(short[] a)
Returns a string representation of the contents of the specified array.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Integer> |
JapaneseImperialCalendar.getDisplayNames(int field,
int style,
Locale locale) |
Map<String,Integer> |
Calendar.getDisplayNames(int field,
int style,
Locale locale)
Returns a
Map containing all names of the calendar
field in the given style and
locale and their corresponding field values. |
private Map<String,Integer> |
JapaneseImperialCalendar.getDisplayNamesImpl(int field,
int style,
Locale locale) |
private Map<String,Integer> |
Calendar.getDisplayNamesImpl(int field,
int style,
Locale locale) |
List<String> |
ResourceBundle.Control.getFormats(String baseName)
Returns a
List of Strings containing
formats to be used to load resource bundles for the given
baseName. |
List<String> |
ResourceBundle.SingleFormatControl.getFormats(String baseName) |
abstract Enumeration<String> |
ResourceBundle.getKeys()
Returns an enumeration of the keys.
|
Enumeration<String> |
PropertyResourceBundle.getKeys()
Returns an
Enumeration of the keys contained in
this ResourceBundle and its parent bundles. |
Enumeration<String> |
ListResourceBundle.getKeys()
Returns an
Enumeration of the keys contained in
this ResourceBundle and its parent bundles. |
Set<String> |
Locale.getUnicodeLocaleAttributes()
Returns the set of unicode locale attributes associated with
this locale, or the empty set if it has no attributes.
|
Set<String> |
Locale.getUnicodeLocaleKeys()
Returns the set of Unicode locale keys defined by this locale, or the empty set if
this locale has none.
|
protected Set<String> |
ResourceBundle.handleKeySet()
Returns a
Set of the keys contained only
in this ResourceBundle. |
protected Set<String> |
PropertyResourceBundle.handleKeySet()
Returns a
Set of the keys contained
only in this ResourceBundle. |
protected Set<String> |
ListResourceBundle.handleKeySet()
Returns a
Set of the keys contained
only in this ResourceBundle. |
Set<String> |
ResourceBundle.keySet()
Returns a
Set of all keys contained in this
ResourceBundle and its parent bundles. |
private Iterator<String> |
ServiceLoader.parse(Class service,
URL u) |
Set<String> |
Properties.stringPropertyNames()
Returns a set of keys in this property list where
the key and its corresponding value are strings,
including distinct keys in the default property list if a key
of the same name has not already been found from the main
properties list.
|
| Modifier and Type | Method and Description |
|---|---|
Locale.Builder |
Locale.Builder.addUnicodeLocaleAttribute(String attribute)
Adds a unicode locale attribute, if not already present, otherwise
has no effect.
|
private static void |
Calendar.appendValue(StringBuilder sb,
String item,
boolean valid,
long value) |
private void |
Scanner.cacheResult(String result) |
private static void |
Formatter.checkText(String s,
int start,
int end) |
private static String[] |
Locale.composeList(MessageFormat format,
String[] list)
Given a list of strings, return a list shortened to three elements.
|
boolean |
ResourceBundle.containsKey(String key)
Determines whether the given
key is contained in
this ResourceBundle or its parent bundles. |
private char |
Formatter.FormatSpecifier.conversion(String s) |
private static String |
Locale.convertOldISOCodes(String language) |
private static StringBuilder |
Date.convertToAbbr(StringBuilder sb,
String name)
Converts the given name to its 3-letter abbreviation (e.g.,
"monday" -> "Mon") and stored the abbreviation in the given
StringBuilder. |
private static Locale |
Locale.createConstant(String lang,
String country)
This method must be called only for creating the Locale.*
constants due to making shortcuts.
|
(package private) static void |
XMLUtils.emitDocument(Document doc,
OutputStream os,
String encoding) |
private static void |
ServiceLoader.fail(Class service,
String msg) |
private static void |
ServiceLoader.fail(Class service,
String msg,
Throwable cause) |
private static void |
ServiceLoader.fail(Class service,
URL u,
int line,
String msg) |
String |
Scanner.findInLine(String pattern)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
String |
Scanner.findWithinHorizon(String pattern,
int horizon)
Attempts to find the next occurrence of a pattern constructed from the
specified string, ignoring delimiters.
|
private Formatter.Flags |
Formatter.FormatSpecifier.flags(String s) |
static Locale |
Locale.forLanguageTag(String languageTag)
Returns a locale for the specified IETF BCP 47 language tag string.
|
Formatter |
Formatter.format(Locale l,
String format,
Object... args)
Writes a formatted string to this object's destination using the
specified locale, format string, and arguments.
|
Formatter |
Formatter.format(String format,
Object... args)
Writes a formatted string to this object's destination using the
specified format string and arguments.
|
private static String |
Locale.formatList(String[] stringList,
String listPattern,
String listCompositionPattern)
Format a list using given pattern strings.
|
private static String |
Locale.formatList(String[] stringList,
String listPattern,
String listCompositionPattern)
Format a list using given pattern strings.
|
static UUID |
UUID.fromString(String name)
Creates a
UUID from the string standard representation as
described in the UUID.toString() method. |
static ResourceBundle |
ResourceBundle.getBundle(String baseName)
Gets a resource bundle using the specified base name, the default locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale)
Gets a resource bundle using the specified base name and locale,
and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class
loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ClassLoader loader,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale, class loader and control.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale and control, and the caller's class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, the
default locale and the specified control.
|
private static ResourceBundle |
ResourceBundle.getBundleImpl(String baseName,
Locale locale,
ClassLoader loader,
ResourceBundle.Control control) |
List<Locale> |
ResourceBundle.Control.getCandidateLocales(String baseName,
Locale locale)
Returns a
List of Locales as candidate
locales for baseName and locale. |
private static sun.util.locale.LocaleExtensions |
Locale.getCompatibilityExtensions(String language,
String script,
String country,
String variant) |
private static List<Locale> |
ResourceBundle.Control.CandidateListCache.getDefaultList(String language,
String script,
String region,
String variant) |
private static String[] |
TimeZone.getDisplayNames(String id,
Locale locale) |
private String |
Locale.getDisplayString(String code,
Locale inLocale,
int type) |
Locale |
ResourceBundle.Control.getFallbackLocale(String baseName,
Locale locale)
Returns a
Locale to be used as a fallback locale for
further resource bundle searches by the
ResourceBundle.getBundle factory method. |
Locale |
ResourceBundle.NoFallbackControl.getFallbackLocale(String baseName,
Locale locale) |
List<String> |
ResourceBundle.Control.getFormats(String baseName)
Returns a
List of Strings containing
formats to be used to load resource bundles for the given
baseName. |
List<String> |
ResourceBundle.SingleFormatControl.getFormats(String baseName) |
static Currency |
Currency.getInstance(String currencyCode)
Returns the
Currency instance for the given currency code. |
private static Currency |
Currency.getInstance(String currencyCode,
int defaultFractionDigits,
int numericCode) |
(package private) static Locale |
Locale.getInstance(String language,
String country,
String variant)
Returns a
Locale constructed from the given
language, country and
variant. |
(package private) static Locale |
Locale.getInstance(String language,
String script,
String country,
String variant,
sun.util.locale.LocaleExtensions extensions) |
private static String[] |
Locale.getISO2Table(String table) |
private static String |
Locale.getISO3Code(String iso2Code,
String table) |
private static int |
PropertyPermission.getMask(String actions)
Converts an actions String to an actions mask.
|
String |
Currency.CurrencyNameGetter.getObject(CurrencyNameProvider currencyNameProvider,
Locale locale,
String key,
Object... params) |
String |
Locale.LocaleNameGetter.getObject(LocaleNameProvider localeNameProvider,
Locale locale,
String key,
Object... params) |
Object |
ResourceBundle.getObject(String key)
Gets an object for the given key from this resource bundle or one of its parents.
|
String |
Properties.getProperty(String key)
Searches for the property with the specified key in this property list.
|
String |
Properties.getProperty(String key,
String defaultValue)
Searches for the property with the specified key in this property list.
|
URL |
ResourceBundle.RBClassLoader.getResource(String name) |
InputStream |
ResourceBundle.RBClassLoader.getResourceAsStream(String name) |
String |
ResourceBundle.getString(String key)
Gets a string for the given key from this resource bundle or one of its parents.
|
String[] |
ResourceBundle.getStringArray(String key)
Gets a string array for the given key from this resource bundle or one of its parents.
|
private static String |
TimeZone.getSystemTimeZoneID(String javaHome,
String country)
Gets the platform defined TimeZone ID.
|
long |
ResourceBundle.Control.getTimeToLive(String baseName,
Locale locale)
Returns the time-to-live (TTL) value for resource bundles that
are loaded under this
ResourceBundle.Control. |
static TimeZone |
TimeZone.getTimeZone(String ID)
Gets the
TimeZone for the given ID. |
private static TimeZone |
TimeZone.getTimeZone(String ID,
boolean fallback) |
String |
Locale.getUnicodeLocaleType(String key)
Returns the Unicode locale type associated with the specified Unicode locale key
for this locale.
|
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Gets an object for the given key from this resource bundle.
|
Object |
PropertyResourceBundle.handleGetObject(String key) |
Object |
ListResourceBundle.handleGetObject(String key) |
boolean |
Scanner.hasNext(String pattern)
Returns true if the next token matches the pattern constructed from the
specified string.
|
private int |
Formatter.FormatSpecifier.index(String s) |
private static void |
Currency.info(String message,
Throwable t) |
private String |
Formatter.FormatSpecifier.justify(String s) |
Class<?> |
ResourceBundle.RBClassLoader.loadClass(String name) |
boolean |
ResourceBundle.Control.needsReload(String baseName,
Locale locale,
String format,
ClassLoader loader,
ResourceBundle bundle,
long loadTime)
Determines if the expired
bundle in the cache needs
to be reloaded based on the loading time given by
loadTime or some other criteria. |
ResourceBundle |
ResourceBundle.Control.newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
String |
Scanner.next(String pattern)
Returns the next token if it matches the pattern constructed from the
specified string.
|
String |
StringTokenizer.nextToken(String delim)
Returns the next token in this string tokenizer's string.
|
private Formatter.FormatString[] |
Formatter.parse(String s)
Finds format specifiers in the format string.
|
static Formatter.Flags |
Formatter.Flags.parse(String s) |
static long |
Date.parse(String s)
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s). |
private static TimeZone |
TimeZone.parseCustomTimeZone(String id)
Parses a custom time zone identifier and returns a corresponding zone.
|
private int |
Formatter.FormatSpecifier.precision(String s) |
private void |
Formatter.FormatSpecifier.print(String s) |
private String |
Scanner.processFloatToken(String token)
The float token must be stripped of prefixes, group separators,
and suffixes, non ascii digits must be converted into ascii digits
before parseFloat will accept it.
|
private String |
Scanner.processIntegerToken(String token)
The integer token must be stripped of prefixes, group separators,
and suffixes, non ascii digits must be converted into ascii digits
before parse will accept it.
|
Locale.Builder |
Locale.Builder.removeUnicodeLocaleAttribute(String attribute)
Removes a unicode locale attribute, if present, otherwise has no
effect.
|
private static void |
Currency.replaceCurrencyData(Pattern pattern,
String ctry,
String curdata)
Replaces currency data found in the currencydata.properties file
|
static <T> T |
Objects.requireNonNull(T obj,
String message)
Checks that the specified object reference is not
null and
throws a customized NullPointerException if it is. |
InputSource |
XMLUtils.Resolver.resolveEntity(String pid,
String sid) |
void |
Properties.save(OutputStream out,
String comments)
Deprecated.
This method does not throw an IOException if an I/O error
occurs while saving the property list. The preferred way to save a
properties list is via the
store(OutputStream out,
String comments) method or the
storeToXML(OutputStream os, String comment) method. |
(package private) static void |
XMLUtils.save(Properties props,
OutputStream os,
String comment,
String encoding) |
private String |
Properties.saveConvert(String theString,
boolean escapeSpace,
boolean escapeUnicode) |
Locale.Builder |
Locale.Builder.setExtension(char key,
String value)
Sets the extension for the given key.
|
(package private) void |
ResourceBundle.CacheKey.setFormat(String format) |
void |
TimeZone.setID(String ID)
Sets the time zone ID.
|
Locale.Builder |
Locale.Builder.setLanguage(String language)
Sets the language.
|
Locale.Builder |
Locale.Builder.setLanguageTag(String languageTag)
Resets the Builder to match the provided IETF BCP 47
language tag.
|
(package private) ResourceBundle.CacheKey |
ResourceBundle.CacheKey.setName(String baseName) |
Object |
Properties.setProperty(String key,
String value)
Calls the Hashtable method
put. |
Locale.Builder |
Locale.Builder.setRegion(String region)
Sets the region.
|
Locale.Builder |
Locale.Builder.setScript(String script)
Sets the script.
|
Locale.Builder |
Locale.Builder.setUnicodeLocaleKeyword(String key,
String type)
Sets the Unicode locale keyword type for the given key.
|
Locale.Builder |
Locale.Builder.setVariant(String variant)
Sets the variant.
|
Scanner |
Scanner.skip(String pattern)
Skips input that matches a pattern constructed from the specified
string.
|
void |
Properties.store(OutputStream out,
String comments)
Writes this property list (key and element pairs) in this
Properties table to the output stream in a format suitable
for loading into a Properties table using the
load(InputStream) method. |
void |
Properties.store(Writer writer,
String comments)
Writes this property list (key and element pairs) in this
Properties table to the output character stream in a
format suitable for using the load(Reader)
method. |
private void |
Properties.store0(BufferedWriter bw,
String comments,
boolean escUnicode) |
void |
Properties.storeToXML(OutputStream os,
String comment)
Emits an XML document representing all of the properties contained
in this table.
|
void |
Properties.storeToXML(OutputStream os,
String comment,
String encoding)
Emits an XML document representing all of the properties contained
in this table, using the specified encoding.
|
private static void |
ResourceBundle.throwMissingResourceException(String baseName,
Locale locale,
Throwable cause)
Throw a MissingResourceException with proper message
|
String |
ResourceBundle.Control.toBundleName(String baseName,
Locale locale)
Converts the given
baseName and locale
to the bundle name. |
private static Charset |
Scanner.toCharset(String csn)
Returns a charset object for the given charset name.
|
private static Charset |
Formatter.toCharset(String csn)
Returns a charset object for the given charset name.
|
private static CharsetDecoder |
Scanner.toDecoder(String charsetName) |
String |
ResourceBundle.Control.toResourceName(String bundleName,
String suffix)
Converts the given
bundleName to the form required
by the ClassLoader.getResource
method by replacing all occurrences of '.' in
bundleName with '/' and appending a
'.' and the given file suffix. |
private String |
ResourceBundle.Control.toResourceName0(String bundleName,
String suffix) |
static String |
Objects.toString(Object o,
String nullDefault)
Returns the result of calling
toString on the first
argument if the first argument is not null and returns
the second argument otherwise. |
Scanner |
Scanner.useDelimiter(String pattern)
Sets this scanner's delimiting pattern to a pattern constructed from
the specified
String. |
static Locale.Category |
Locale.Category.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Formatter.BigDecimalLayoutForm |
Formatter.BigDecimalLayoutForm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
private int |
Formatter.FormatSpecifier.width(String s) |
private static void |
Properties.writeComments(BufferedWriter bw,
String comments) |
| Modifier and Type | Method and Description |
|---|---|
private void |
Properties.enumerateStringProperties(Hashtable<String,String> h)
Enumerates all key/value pairs in the specified hashtable
and omits the property if the key or value is not a string.
|
private void |
Properties.enumerateStringProperties(Hashtable<String,String> h)
Enumerates all key/value pairs in the specified hashtable
and omits the property if the key or value is not a string.
|
private static ResourceBundle |
ResourceBundle.findBundle(ResourceBundle.CacheKey cacheKey,
List<Locale> candidateLocales,
List<String> formats,
int index,
ResourceBundle.Control control,
ResourceBundle baseBundle) |
static ResourceBundle.Control |
ResourceBundle.Control.getControl(List<String> formats)
|
static ResourceBundle.Control |
ResourceBundle.Control.getNoFallbackControl(List<String> formats)
Returns a
ResourceBundle.Control in which the getFormats method returns the specified
formats and the getFallbackLocale
method returns null. |
private static ResourceBundle |
ResourceBundle.loadBundle(ResourceBundle.CacheKey cacheKey,
List<String> formats,
ResourceBundle.Control control,
boolean reload) |
private int |
ServiceLoader.parseLine(Class service,
URL u,
BufferedReader r,
int lc,
List<String> names) |
| Constructor and Description |
|---|
ConcurrentModificationException(String message)
Constructs a
ConcurrentModificationException with the
specified detail message. |
ConcurrentModificationException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and
cause.
|
Currency(String currencyCode,
int defaultFractionDigits,
int numericCode)
Constructs a
Currency instance. |
Date(String s)
Deprecated.
As of JDK version 1.1,
replaced by
DateFormat.parse(String s). |
DuplicateFormatFlagsException(String f)
Constructs an instance of this class with the specified flags.
|
FormatFlagsConversionMismatchException(String f,
char c)
Constructs an instance of this class with the specified flag
and conversion.
|
Formatter.FixedString(String s) |
Formatter(File file,
String csn)
Constructs a new formatter with the specified file and charset.
|
Formatter(File file,
String csn,
Locale l)
Constructs a new formatter with the specified file, charset, and
locale.
|
Formatter(OutputStream os,
String csn)
Constructs a new formatter with the specified output stream and
charset.
|
Formatter(OutputStream os,
String csn,
Locale l)
Constructs a new formatter with the specified output stream, charset,
and locale.
|
Formatter(String fileName)
Constructs a new formatter with the specified file name.
|
Formatter(String fileName,
String csn)
Constructs a new formatter with the specified file name and charset.
|
Formatter(String fileName,
String csn,
Locale l)
Constructs a new formatter with the specified file name, charset, and
locale.
|
IllegalFormatFlagsException(String f)
Constructs an instance of this class with the specified flags.
|
IllformedLocaleException(String message)
Constructs a new
IllformedLocaleException with the
given message and -1 as the error index. |
IllformedLocaleException(String message,
int errorIndex)
Constructs a new
IllformedLocaleException with the
given message and the error index. |
InputMismatchException(String s)
Constructs an
InputMismatchException, saving a reference
to the error message string s for later retrieval by the
getMessage method. |
InvalidPropertiesFormatException(String message)
Constructs an InvalidPropertiesFormatException with the specified
detail message.
|
Locale.Category(String languageKey,
String scriptKey,
String countryKey,
String variantKey) |
Locale(String language)
Construct a locale from a language code.
|
Locale(String language,
String country)
Construct a locale from language and country.
|
Locale(String language,
String country,
String variant)
Construct a locale from language, country and variant.
|
MissingFormatArgumentException(String s)
Constructs an instance of this class with the unmatched format
specifier.
|
MissingFormatWidthException(String s)
Constructs an instance of this class with the specified format
specifier.
|
MissingResourceException(String s,
String className,
String key)
Constructs a MissingResourceException with the specified information.
|
MissingResourceException(String message,
String className,
String key,
Throwable cause)
Constructs a
MissingResourceException with
message, className, key,
and cause. |
NoSuchElementException(String s)
Constructs a
NoSuchElementException, saving a reference
to the error message string s for later retrieval by the
getMessage method. |
PropertyPermission(String name,
String actions)
Creates a new PropertyPermission object with the specified name.
|
ResourceBundle.CacheKey(String baseName,
Locale locale,
ClassLoader loader) |
Scanner(File source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified file. |
Scanner(InputStream source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified input stream. |
Scanner(Path source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified file. |
Scanner(ReadableByteChannel source,
String charsetName)
Constructs a new
Scanner that produces values scanned
from the specified channel. |
Scanner(String source)
Constructs a new
Scanner that produces values scanned
from the specified string. |
ServiceConfigurationError(String msg)
Constructs a new instance with the specified message.
|
ServiceConfigurationError(String msg,
Throwable cause)
Constructs a new instance with the specified message and cause.
|
SimpleTimeZone(int rawOffset,
String ID)
Constructs a SimpleTimeZone with the given base time zone offset from GMT
and time zone ID with no daylight saving time schedule.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
SimpleTimeZone(int rawOffset,
String ID,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int startTimeMode,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int endTimeMode,
int dstSavings)
Constructs a SimpleTimeZone with the given base time zone offset from
GMT, time zone ID, and rules for starting and ending the daylight
time.
|
StringTokenizer(String str)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim)
Constructs a string tokenizer for the specified string.
|
StringTokenizer(String str,
String delim,
boolean returnDelims)
Constructs a string tokenizer for the specified string.
|
Timer(String name)
Creates a new timer whose associated thread has the specified name.
|
Timer(String name,
boolean isDaemon)
Creates a new timer whose associated thread has the specified name,
and may be specified to
run as a daemon.
|
TooManyListenersException(String s)
Constructs a TooManyListenersException with the specified detail message.
|
UnknownFormatConversionException(String s)
Constructs an instance of this class with the unknown conversion.
|
UnknownFormatFlagsException(String f)
Constructs an instance of this class with the specified flags.
|
| Constructor and Description |
|---|
ResourceBundle.NoFallbackControl(List<String> formats) |
ResourceBundle.SingleFormatControl(List<String> formats) |
| Modifier and Type | Field and Description |
|---|---|
private String |
Executors.DefaultThreadFactory.namePrefix |
private String |
ForkJoinPool.workerNamePrefix
Prefix for assigning names to worker threads
|
| Modifier and Type | Method and Description |
|---|---|
private String |
Phaser.badArrive(long s)
Returns message string for bounds exceptions on arrival.
|
private String |
Phaser.badRegister(long s)
Returns message string for bounds exceptions on registration.
|
(package private) String |
ForkJoinPool.nextWorkerName()
Callback from ForkJoinWorkerThread constructor to assign a
public name
|
private String |
Phaser.stateToString(long s)
Implementation of toString and string-based error messages
|
String |
ThreadPoolExecutor.toString()
Returns a string identifying this pool, as well as its state,
including indications of run state and estimated worker and
task counts.
|
String |
Semaphore.toString()
Returns a string identifying this semaphore, as well as its state.
|
String |
PriorityBlockingQueue.toString() |
String |
Phaser.toString()
Returns a string identifying this phaser, as well as its
state.
|
String |
LinkedBlockingQueue.toString() |
String |
LinkedBlockingDeque.toString() |
String |
ForkJoinPool.toString()
Returns a string identifying this pool, as well as its state,
including indications of run state, parallelism level, and
worker and task counts.
|
String |
CountDownLatch.toString()
Returns a string identifying this latch, as well as its state.
|
String |
CopyOnWriteArrayList.toString()
Returns a string representation of this list.
|
String |
ArrayBlockingQueue.toString() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static long |
SynchronousQueue.objectFieldOffset(sun.misc.Unsafe UNSAFE,
String field,
Class<?> klazz) |
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
BrokenBarrierException(String message)
Constructs a BrokenBarrierException with the specified
detail message.
|
CancellationException(String message)
Constructs a CancellationException with the specified detail
message.
|
ExecutionException(String message)
Constructs an ExecutionException with the specified detail
message.
|
ExecutionException(String message,
Throwable cause)
Constructs an ExecutionException with the specified detail
message and cause.
|
RejectedExecutionException(String message)
Constructs a RejectedExecutionException with the
specified detail message.
|
RejectedExecutionException(String message,
Throwable cause)
Constructs a RejectedExecutionException with the
specified detail message and cause.
|
TimeoutException(String message)
Constructs a TimeoutException with the specified detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
AtomicReferenceArray.toString()
Returns the String representation of the current values of array.
|
String |
AtomicReference.toString()
Returns the String representation of the current value.
|
String |
AtomicLongArray.toString()
Returns the String representation of the current values of array.
|
String |
AtomicLong.toString()
Returns the String representation of the current value.
|
String |
AtomicIntegerArray.toString()
Returns the String representation of the current values of array.
|
String |
AtomicInteger.toString()
Returns the String representation of the current value.
|
String |
AtomicBoolean.toString()
Returns the String representation of the current value.
|
| Modifier and Type | Method and Description |
|---|---|
static <U,W> AtomicReferenceFieldUpdater<U,W> |
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U> AtomicLongFieldUpdater<U> |
AtomicLongFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
static <U> AtomicIntegerFieldUpdater<U> |
AtomicIntegerFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates and returns an updater for objects with the given field.
|
(package private) static long |
AtomicStampedReference.objectFieldOffset(sun.misc.Unsafe UNSAFE,
String field,
Class<?> klazz) |
(package private) static long |
AtomicMarkableReference.objectFieldOffset(sun.misc.Unsafe UNSAFE,
String field,
Class<?> klazz) |
| Constructor and Description |
|---|
AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl(Class<T> tclass,
String fieldName,
Class<?> caller) |
AtomicLongFieldUpdater.CASUpdater(Class<T> tclass,
String fieldName,
Class<?> caller) |
AtomicLongFieldUpdater.LockedUpdater(Class<T> tclass,
String fieldName,
Class<?> caller) |
AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl(Class<T> tclass,
Class<V> vclass,
String fieldName,
Class<?> caller) |
| Modifier and Type | Method and Description |
|---|---|
String |
ReentrantReadWriteLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
ReentrantReadWriteLock.ReadLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
ReentrantReadWriteLock.WriteLock.toString()
Returns a string identifying this lock, as well as its lock
state.
|
String |
ReentrantLock.toString()
Returns a string identifying this lock, as well as its lock state.
|
String |
AbstractQueuedSynchronizer.toString()
Returns a string identifying this synchronizer, as well as its state.
|
String |
AbstractQueuedLongSynchronizer.toString()
Returns a string identifying this synchronizer, as well as its state.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
Pack200.Packer.CLASS_ATTRIBUTE_PFX
When concatenated with a class attribute name,
indicates the format of that attribute,
using the layout language specified in the JSR 200 specification.
|
static String |
Pack200.Packer.CODE_ATTRIBUTE_PFX
When concatenated with a code attribute name,
indicates the format of that attribute.
|
static String |
Pack200.Packer.DEFLATE_HINT
If this property is set to
Pack200.Packer.TRUE or Pack200.Packer.FALSE, the packer
will set the deflation hint accordingly in the output archive, and
will not transmit the individual deflation hints of archive elements. |
static String |
Pack200.Unpacker.DEFLATE_HINT
Property indicating that the unpacker should
ignore all transmitted values for DEFLATE_HINT,
replacing them by the given value,
Pack200.Unpacker.TRUE or Pack200.Unpacker.FALSE. |
static String |
Pack200.Packer.EFFORT
If this property is set to a single decimal digit, the packer will
use the indicated amount of effort in compressing the archive.
|
static String |
Pack200.Packer.ERROR
The string "error", a possible value for certain properties.
|
static String |
Pack200.Packer.FALSE
The string "false", a possible value for certain properties.
|
static String |
Pack200.Unpacker.FALSE
The string "false", a possible value for certain properties.
|
static String |
Pack200.Packer.FIELD_ATTRIBUTE_PFX
When concatenated with a field attribute name,
indicates the format of that attribute.
|
private static String[] |
JarFile.jarNames |
private static String |
JarFile.javaHome |
static String |
Pack200.Packer.KEEP
The string "keep", a possible value for certain properties.
|
static String |
Pack200.Unpacker.KEEP
The string "keep", a possible value for certain properties.
|
static String |
Pack200.Packer.KEEP_FILE_ORDER
If this property is set to
Pack200.Packer.TRUE, the packer will transmit
all elements in their original order within the source archive. |
static String |
Pack200.Packer.LATEST
The string "latest", a possible value for certain properties.
|
static String |
JarFile.MANIFEST_NAME
The JAR manifest file name.
|
static String |
Pack200.Packer.METHOD_ATTRIBUTE_PFX
When concatenated with a method attribute name,
indicates the format of that attribute.
|
static String |
Pack200.Packer.MODIFICATION_TIME
If this property is set to the special string
Pack200.Packer.LATEST,
the packer will attempt to determine the latest modification time,
among all the available entries in the original archive or the latest
modification time of all the available entries in each segment. |
private String |
Attributes.Name.name |
private static String |
Pack200.PACK_PROVIDER |
static String |
Pack200.Packer.PASS
The string "pass", a possible value for certain properties.
|
static String |
Pack200.Packer.PASS_FILE_PFX
Indicates that a file should be passed through bytewise, with no
compression.
|
static String |
Pack200.Packer.PROGRESS
The unpacker's progress as a percentage, as periodically
updated by the unpacker.
|
static String |
Pack200.Unpacker.PROGRESS
The unpacker's progress as a percentage, as periodically
updated by the unpacker.
|
static String |
Pack200.Packer.SEGMENT_LIMIT
This property is a numeral giving the estimated target size N
(in bytes) of each archive segment.
|
static String |
Pack200.Packer.STRIP
The string "strip", a possible value for certain properties.
|
static String |
Pack200.Packer.TRUE
The string "true", a possible value for certain properties.
|
static String |
Pack200.Unpacker.TRUE
The string "true", a possible value for certain properties.
|
static String |
Pack200.Packer.UNKNOWN_ATTRIBUTE
Indicates the action to take when a class-file containing an unknown
attribute is encountered.
|
private static String |
Pack200.UNPACK_PROVIDER |
| Modifier and Type | Method and Description |
|---|---|
private String[] |
JarFile.getMetaInfEntryNames() |
String |
Attributes.getValue(Attributes.Name name)
Returns the value of the specified Attributes.Name, or null if the
attribute was not found.
|
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as
a string, or null if the attribute was not found.
|
private String |
Manifest.parseName(byte[] lbuf,
int len) |
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name,
specified as a String.
|
String |
Attributes.Name.toString()
Returns the attribute name as a String.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Enumeration<String> |
JarFile.entryNames(CodeSource[] cs) |
Enumeration<String> |
JavaUtilJarAccessImpl.entryNames(JarFile jar,
CodeSource[] cs) |
Enumeration<String> |
JarVerifier.entryNames(JarFile jar,
CodeSource[] cs) |
Map<String,Attributes> |
Manifest.getEntries()
Returns a Map of the entries contained in this Manifest.
|
SortedMap<String,String> |
Pack200.Packer.properties()
Get the set of this engine's properties.
|
SortedMap<String,String> |
Pack200.Packer.properties()
Get the set of this engine's properties.
|
SortedMap<String,String> |
Pack200.Unpacker.properties()
Get the set of this engine's properties.
|
SortedMap<String,String> |
Pack200.Unpacker.properties()
Get the set of this engine's properties.
|
private Enumeration<String> |
JarFile.unsignedEntryNames() |
private Enumeration<String> |
JarVerifier.unsignedEntryNames(JarFile jar) |
| Modifier and Type | Method and Description |
|---|---|
protected ZipEntry |
JarInputStream.createZipEntry(String name)
Creates a new
JarEntry (ZipEntry) for the
specified JAR file entry name. |
Attributes |
Manifest.getAttributes(String name)
Returns the Attributes for the specified entry name.
|
Certificate[] |
JarVerifier.getCerts(String name)
Deprecated.
|
CodeSigner[] |
JarVerifier.getCodeSigners(String name)
return an array of CodeSigner objects for
the given file in the jar.
|
CodeSource |
JavaUtilJarAccessImpl.getCodeSource(JarFile jar,
URL url,
String name) |
CodeSource |
JarVerifier.getCodeSource(URL url,
String name) |
(package private) CodeSource |
JarFile.getCodeSource(URL url,
String name) |
ZipEntry |
JarFile.getEntry(String name)
Returns the
ZipEntry for the given entry name or
null if not found. |
JarEntry |
JarFile.getJarEntry(String name)
Returns the
JarEntry for the given entry name or
null if not found. |
String |
Attributes.getValue(String name)
Returns the value of the specified attribute name, specified as
a string, or null if the attribute was not found.
|
(package private) static boolean |
JarVerifier.isSigningRelated(String name) |
private static boolean |
Attributes.Name.isValid(String name) |
private static Object |
Pack200.newInstance(String prop) |
String |
Attributes.putValue(String name,
String value)
Associates the specified value with the specified attribute name,
specified as a String.
|
| Constructor and Description |
|---|
Attributes.Name(String name)
Constructs a new attribute name using the given string name.
|
JarEntry(String name)
Creates a new
JarEntry for the specified JAR file
entry name. |
JarException(String s)
Constructs a JarException with the specified detail message.
|
JarFile(String name)
Creates a new
JarFile to read from the specified
file name. |
JarFile(String name,
boolean verify)
Creates a new
JarFile to read from the specified
file name. |
| Modifier and Type | Field and Description |
|---|---|
private String |
Logger.catalogName |
private static String |
Level.defaultBundle |
private static String |
Logging.EMPTY_STRING |
private String |
Handler.encoding |
private static String |
SimpleFormatter.format |
static String |
Logger.GLOBAL_LOGGER_NAME
GLOBAL_LOGGER_NAME is a name for the global logger.
|
private String |
SocketHandler.host |
private String |
Level.localizedLevelName |
private String |
FileHandler.lockFileName |
private String |
LogRecord.loggerName |
static String |
LogManager.LOGGING_MXBEAN_NAME
String representation of the
ObjectName for the management interface
for the logging facility. |
private String |
LogRecord.message |
private String |
Logger.name |
private String |
LogManager.LoggerWeakRef.name |
private String |
Level.name |
private String |
FileHandler.pattern |
private String |
SocketHandler.portProperty |
private String |
Logger.resourceBundleName |
private String |
LogRecord.resourceBundleName |
private String |
Level.resourceBundleName |
private String |
LogRecord.sourceClassName |
private String |
LogRecord.sourceMethodName |
(package private) static String |
Logger.SYSTEM_LOGGER_RB_NAME |
| Modifier and Type | Field and Description |
|---|---|
(package private) HashMap<String,LogManager.LogNode> |
LogManager.LogNode.children |
private static HashMap<String,String> |
FileHandler.locks |
private static HashMap<String,String> |
FileHandler.locks |
private Hashtable<String,LogManager.LoggerWeakRef> |
LogManager.LoggerContext.namedLoggers |
private static Map<String,List<Level.KnownLevel>> |
Level.KnownLevel.nameToLevels |
| Modifier and Type | Method and Description |
|---|---|
private String |
Level.computeLocalizedLevelName(Locale newLocale) |
String |
XMLFormatter.format(LogRecord record)
Format the given message to XML.
|
String |
SimpleFormatter.format(LogRecord record)
Format the given LogRecord.
|
abstract String |
Formatter.format(LogRecord record)
Format the given log record and return the formatted string.
|
String |
Formatter.formatMessage(LogRecord record)
Localize and format the message string from a log record.
|
(package private) String |
Level.getCachedLocalizedLevelName() |
private String |
Logger.getEffectiveResourceBundleName() |
String |
Handler.getEncoding()
Return the character encoding for this Handler.
|
String |
XMLFormatter.getHead(Handler h)
Return the header string for a set of XML formatted records.
|
String |
Formatter.getHead(Handler h)
Return the header string for a set of formatted records.
|
(package private) String |
Level.getLevelName() |
String |
LoggingProxyImpl.getLevelName(Object level) |
(package private) String |
Level.getLocalizedLevelName() |
String |
Level.getLocalizedName()
Return the localized string name of the Level, for
the current default locale.
|
String |
LoggingProxyImpl.getLoggerLevel(String loggerName) |
String |
LoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
Logging.getLoggerLevel(String loggerName) |
String |
LogRecord.getLoggerName()
Get the source Logger's name.
|
String |
LogRecord.getMessage()
Get the "raw" log message, before localization or formatting.
|
String |
Logger.getName()
Get the name for this logger.
|
String |
Level.getName()
Return the non-localized string name of the Level.
|
String |
LoggingProxyImpl.getParentLoggerName(String loggerName) |
String |
LoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the parent for the specified logger.
|
String |
Logging.getParentLoggerName(String loggerName) |
String |
LoggingProxyImpl.getProperty(String key) |
String |
LogManager.getProperty(String name)
Get the value of a logging property.
|
String |
Logger.getResourceBundleName()
Retrieve the localization resource bundle name for this
logger.
|
String |
LogRecord.getResourceBundleName()
Get the localization resource bundle name
|
String |
Level.getResourceBundleName()
Return the level's localization resource bundle name, or
null if no localization bundle is defined.
|
String |
LogRecord.getSourceClassName()
Get the name of the class that (allegedly) issued the logging request.
|
String |
LogRecord.getSourceMethodName()
Get the name of the method that (allegedly) issued the logging request.
|
(package private) String |
LogManager.getStringProperty(String name,
String defaultValue) |
String |
XMLFormatter.getTail(Handler h)
Return the tail string for a set of XML formatted records.
|
String |
Formatter.getTail(Handler h)
Return the tail string for a set of formatted records.
|
private String[] |
LogManager.parseClassNames(String propertyName) |
String |
Level.toString()
Returns a string representation of this Level.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
LoggingProxyImpl.getLoggerNames() |
List<String> |
LoggingMXBean.getLoggerNames()
Returns the list of currently registered logger names.
|
List<String> |
Logging.getLoggerNames() |
Enumeration<String> |
LogManager.getLoggerNames()
Get an enumeration of known logger names.
|
(package private) Enumeration<String> |
LogManager.LoggerContext.getLoggerNames() |
| Modifier and Type | Method and Description |
|---|---|
void |
Logger.config(String msg)
Log a CONFIG message.
|
(package private) Logger |
LogManager.LoggerContext.demandLogger(String name,
String resourceBundleName) |
(package private) Logger |
LogManager.SystemLoggerContext.demandLogger(String name,
String resourceBundleName) |
private static Logger |
Logger.demandLogger(String name,
String resourceBundleName,
Class<?> caller) |
(package private) Logger |
LogManager.demandLogger(String name,
String resourceBundleName,
Class<?> caller) |
(package private) Logger |
LogManager.demandSystemLogger(String name,
String resourceBundleName) |
private void |
Logger.doLog(LogRecord lr,
String rbname) |
void |
Logger.entering(String sourceClass,
String sourceMethod)
Log a method entry.
|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object param1)
Log a method entry, with one parameter.
|
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object[] params)
Log a method entry, with an array of parameters.
|
void |
FileHandler.InitializationErrorManager.error(String msg,
Exception ex,
int code) |
void |
ErrorManager.error(String msg,
Exception ex,
int code)
The error method is called when a Handler failure occurs.
|
private void |
XMLFormatter.escape(StringBuffer sb,
String text) |
void |
Logger.exiting(String sourceClass,
String sourceMethod)
Log a method return.
|
void |
Logger.exiting(String sourceClass,
String sourceMethod,
Object result)
Log a method return, with result object.
|
(package private) static Level.KnownLevel |
Level.KnownLevel.findByLocalizedLevelName(String name) |
(package private) static Level.KnownLevel |
Level.KnownLevel.findByLocalizedName(String name) |
(package private) static Level.KnownLevel |
Level.KnownLevel.findByName(String name) |
(package private) static Level |
Level.findLevel(String name) |
(package private) Logger |
LogManager.LoggerContext.findLogger(String name) |
private ResourceBundle |
Logger.findResourceBundle(String name,
boolean useCallersClassLoader)
Private utility method to map a resource bundle name to an
actual resource bundle, using a simple one-entry cache.
|
private ResourceBundle |
Logger.findResourceBundleFromStack(String name,
Locale locale,
ClassLoader cl)
This method will fail when running with a VM that enforces caller-sensitive
methods and only allows to get the immediate caller.
|
void |
Logger.fine(String msg)
Log a FINE message.
|
void |
Logger.finer(String msg)
Log a FINER message.
|
void |
Logger.finest(String msg)
Log a FINEST message.
|
private File |
FileHandler.generate(String pattern,
int generation,
int unique) |
static Logger |
Logger.getAnonymousLogger(String resourceBundleName)
Create an anonymous Logger.
|
private static boolean |
Logger.LoggerHelper.getBooleanProperty(String key) |
(package private) boolean |
LogManager.getBooleanProperty(String name,
boolean defaultValue) |
(package private) Filter |
LogManager.getFilterProperty(String name,
Filter defaultValue) |
(package private) Formatter |
LogManager.getFormatterProperty(String name,
Formatter defaultValue) |
(package private) int |
LogManager.getIntProperty(String name,
int defaultValue) |
(package private) Level |
LogManager.getLevelProperty(String name,
Level defaultValue) |
Object |
LoggingProxyImpl.getLogger(String name) |
static Logger |
Logger.getLogger(String name)
Find or create a logger for a named subsystem.
|
Logger |
LogManager.getLogger(String name)
Method to find a named logger.
|
static Logger |
Logger.getLogger(String name,
String resourceBundleName)
Find or create a logger for a named subsystem.
|
String |
LoggingProxyImpl.getLoggerLevel(String loggerName) |
String |
LoggingMXBean.getLoggerLevel(String loggerName)
Gets the name of the log level associated with the specified logger.
|
String |
Logging.getLoggerLevel(String loggerName) |
(package private) LogManager.LogNode |
LogManager.LoggerContext.getNode(String name) |
String |
LoggingProxyImpl.getParentLoggerName(String loggerName) |
String |
LoggingMXBean.getParentLoggerName(String loggerName)
Returns the name of the parent for the specified logger.
|
String |
Logging.getParentLoggerName(String loggerName) |
(package private) static Logger |
Logger.getPlatformLogger(String name) |
String |
LoggingProxyImpl.getProperty(String key) |
String |
LogManager.getProperty(String name)
Get the value of a logging property.
|
(package private) String |
LogManager.getStringProperty(String name,
String defaultValue) |
void |
Logger.info(String msg)
Log an INFO message.
|
private boolean |
LogRecord.isLoggerImplFrame(String cname) |
private void |
LogManager.loadLoggerHandlers(Logger logger,
String name,
String handlersPropertyName) |
void |
Logger.log(Level level,
String msg)
Log a message, with no arguments.
|
void |
Logger.log(Level level,
String msg,
Object param1)
Log a message, with one object parameter.
|
void |
Logger.log(Level level,
String msg,
Object[] params)
Log a message, with an array of object arguments.
|
void |
Logger.log(Level level,
String msg,
Throwable thrown)
Log a message, with associated Throwable information.
|
void |
LoggingProxyImpl.log(Object logger,
Object level,
String msg) |
void |
LoggingProxyImpl.log(Object logger,
Object level,
String msg,
Object... params) |
void |
LoggingProxyImpl.log(Object logger,
Object level,
String msg,
Throwable t) |
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg)
Log a message, specifying source class and method,
with no arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object param1)
Log a message, specifying source class and method,
with a single object parameter to the log message.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
Log a message, specifying source class and method,
with an array of object arguments.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown)
Log a message, specifying source class and method,
with associated Throwable information.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg)
Log a message, specifying source class, method, and resource bundle name
with no arguments.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param1)
Log a message, specifying source class, method, and resource bundle name,
with a single object parameter to the log message.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params)
Log a message, specifying source class, method, and resource bundle name,
with an array of object arguments.
|
void |
Logger.logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown)
Log a message, specifying source class, method, and resource bundle name,
with associated Throwable information.
|
static Level |
Level.parse(String name)
Parse a level name string into a Level.
|
private String[] |
LogManager.parseClassNames(String propertyName) |
Object |
LoggingProxyImpl.parseLevel(String levelName) |
private void |
LogManager.LoggerContext.processParentHandlers(Logger logger,
String name) |
(package private) void |
LogManager.LoggerContext.removeLoggerRef(String name,
LogManager.LoggerWeakRef ref) |
protected void |
Handler.reportError(String msg,
Exception ex,
int code)
Protected convenience method to report an error to this Handler's
ErrorManager.
|
void |
StreamHandler.setEncoding(String encoding)
Set (or change) the character encoding used by this Handler.
|
void |
Handler.setEncoding(String encoding)
Set the character encoding used by this Handler.
|
void |
LoggingProxyImpl.setLoggerLevel(String loggerName,
String levelName) |
void |
LoggingMXBean.setLoggerLevel(String loggerName,
String levelName)
Sets the specified logger to the specified new level.
|
void |
Logging.setLoggerLevel(String loggerName,
String levelName) |
void |
LogRecord.setLoggerName(String name)
Set the source Logger's name.
|
void |
LogRecord.setMessage(String message)
Set the "raw" log message, before localization or formatting.
|
void |
LogRecord.setResourceBundleName(String name)
Set the localization resource bundle name.
|
void |
LogRecord.setSourceClassName(String sourceClassName)
Set the name of the class that (allegedly) issued the logging request.
|
void |
LogRecord.setSourceMethodName(String sourceMethodName)
Set the name of the method that (allegedly) issued the logging request.
|
private void |
Logger.setupResourceInfo(String name,
Class<?> callersClass) |
void |
Logger.severe(String msg)
Log a SEVERE message.
|
void |
Logger.throwing(String sourceClass,
String sourceMethod,
Throwable thrown)
Log throwing an exception.
|
void |
Logger.warning(String msg)
Log a WARNING message.
|
| Constructor and Description |
|---|
FileHandler(String pattern)
Initialize a FileHandler to write to the given filename.
|
FileHandler(String pattern,
boolean append)
Initialize a FileHandler to write to the given filename,
with optional append.
|
FileHandler(String pattern,
int limit,
int count)
Initialize a FileHandler to write to a set of files.
|
FileHandler(String pattern,
int limit,
int count,
boolean append)
Initialize a FileHandler to write to a set of files
with optional append.
|
Level(String name,
int value)
Create a named Level with a given integer value.
|
Level(String name,
int value,
String resourceBundleName)
Create a named Level with a given integer value and a
given localization resource name.
|
Logger(String name) |
Logger(String name,
String resourceBundleName)
Protected method to construct a logger for a named subsystem.
|
Logger(String name,
String resourceBundleName,
Class<?> caller,
boolean isSystemLogger) |
LoggingPermission(String name,
String actions)
Creates a new LoggingPermission object.
|
LogRecord(Level level,
String msg)
Construct a LogRecord with the given level and message values.
|
SocketHandler(String host,
int port)
Construct a SocketHandler using a specified host and port.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
AbstractPreferences.absolutePath
Our absolute path name.
|
private static String[] |
FileSystemPreferences.EMPTY_STRING_ARRAY |
private static String[] |
AbstractPreferences.EMPTY_STRING_ARRAY |
private static String |
XmlSupport.EXTERNAL_XML_VERSION
Version number for the format exported preferences files.
|
private String |
PreferenceChangeEvent.key
Key of the preference that changed.
|
(package private) String |
FileSystemPreferences.Put.key |
(package private) String |
FileSystemPreferences.Remove.key |
private static String |
XmlSupport.MAP_XML_VERSION |
private String |
AbstractPreferences.name
Our name relative to parent.
|
private String |
PreferenceChangeEvent.newValue
New value for preference, or null if it was removed.
|
private static String |
XmlSupport.PREFS_DTD |
private static String |
XmlSupport.PREFS_DTD_URI |
(package private) String |
FileSystemPreferences.Put.value |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,AbstractPreferences> |
AbstractPreferences.kidCache
All known unremoved children of this node.
|
private Map<String,String> |
FileSystemPreferences.prefsCache
Locally cached preferences for this node (includes uncommitted
changes).
|
private Map<String,String> |
FileSystemPreferences.prefsCache
Locally cached preferences for this node (includes uncommitted
changes).
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
Preferences.absolutePath()
Returns this preference node's absolute path name.
|
String |
AbstractPreferences.absolutePath()
Implements the absolutePath method as per the specification in
Preferences.absolutePath(). |
(package private) static String |
Base64.byteArrayToAltBase64(byte[] a)
Translates the specified byte array into an "alternate representation"
Base64 string.
|
(package private) static String |
Base64.byteArrayToBase64(byte[] a)
Translates the specified byte array into a Base64 string as per
Preferences.put(byte[]).
|
private static String |
Base64.byteArrayToBase64(byte[] a,
boolean alternate) |
abstract String[] |
Preferences.childrenNames()
Returns the names of the children of this preference node, relative to
this node.
|
String[] |
AbstractPreferences.childrenNames()
Implements the children method as per the specification in
Preferences.childrenNames(). |
protected String[] |
FileSystemPreferences.childrenNamesSpi() |
protected abstract String[] |
AbstractPreferences.childrenNamesSpi()
Returns the names of the children of this preference node.
|
private static String |
FileSystemPreferences.dirName(String nodeName)
Returns the directory name corresponding to the specified node name.
|
abstract String |
Preferences.get(String key,
String def)
Returns the value associated with the specified key in this preference
node.
|
String |
AbstractPreferences.get(String key,
String def)
Implements the get method as per the specification in
Preferences.get(String,String). |
String |
PreferenceChangeEvent.getKey()
Returns the key of the preference that was changed.
|
String |
PreferenceChangeEvent.getNewValue()
Returns the new value for the preference.
|
protected String |
FileSystemPreferences.getSpi(String key) |
protected abstract String |
AbstractPreferences.getSpi(String key)
Return the value associated with the specified key at this preference
node, or null if there is no association for this key, or the
association cannot be determined at this time.
|
abstract String[] |
Preferences.keys()
Returns all of the keys that have an associated value in this
preference node.
|
String[] |
AbstractPreferences.keys()
Implements the keys method as per the specification in
Preferences.keys(). |
protected String[] |
FileSystemPreferences.keysSpi() |
protected abstract String[] |
AbstractPreferences.keysSpi()
Returns all of the keys that have an associated value in this
preference node.
|
abstract String |
Preferences.name()
Returns this preference node's name, relative to its parent.
|
String |
AbstractPreferences.name()
Implements the name method as per the specification in
Preferences.name(). |
private static String |
Preferences.nodeName(Class c)
Returns the absolute path name of the node corresponding to the package
of the specified object.
|
private static String |
FileSystemPreferences.nodeName(String dirName)
Returns the node name corresponding to the specified directory name.
|
abstract String |
Preferences.toString()
Returns a string representation of this preferences node,
as if computed by the expression:(this.isUserNode() ? "User" :
"System") + " Preference Node: " + this.absolutePath().
|
String |
AbstractPreferences.toString()
Returns the absolute path name of this preferences node.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static byte[] |
Base64.altBase64ToByteArray(String s)
Translates the specified "alternate representation" Base64 string
into a byte array.
|
(package private) static byte[] |
Base64.base64ToByteArray(String s)
Translates the specified Base64 string (as per Preferences.get(byte[]))
into a byte array.
|
private static byte[] |
Base64.base64ToByteArray(String s,
boolean alternate) |
private static byte[] |
FileSystemPreferences.byteArray(String s)
Translate a string into a byte array by translating each character
into two bytes, high-byte first ("big-endian").
|
protected AbstractPreferences |
FileSystemPreferences.childSpi(String name) |
protected abstract AbstractPreferences |
AbstractPreferences.childSpi(String name)
Returns the named child of this preference node, creating it if it does
not already exist.
|
private static int |
FileSystemPreferences.chmod(String fileName,
int permission)
Changes UNIX file permissions.
|
private static Document |
XmlSupport.createPrefsDoc(String qname)
Create a new prefs XML document.
|
private static String |
FileSystemPreferences.dirName(String nodeName)
Returns the directory name corresponding to the specified node name.
|
private void |
AbstractPreferences.enqueuePreferenceChangeEvent(String key,
String newValue)
Enqueue a preference change event for delivery to registered
preference change listeners unless there are no registered
listeners.
|
abstract String |
Preferences.get(String key,
String def)
Returns the value associated with the specified key in this preference
node.
|
String |
AbstractPreferences.get(String key,
String def)
Implements the get method as per the specification in
Preferences.get(String,String). |
abstract boolean |
Preferences.getBoolean(String key,
boolean def)
Returns the boolean value represented by the string associated with the
specified key in this preference node.
|
boolean |
AbstractPreferences.getBoolean(String key,
boolean def)
Implements the getBoolean method as per the specification in
Preferences.getBoolean(String,boolean). |
abstract byte[] |
Preferences.getByteArray(String key,
byte[] def)
Returns the byte array value represented by the string associated with
the specified key in this preference node.
|
byte[] |
AbstractPreferences.getByteArray(String key,
byte[] def)
Implements the getByteArray method as per the specification in
Preferences.getByteArray(String,byte[]). |
protected AbstractPreferences |
AbstractPreferences.getChild(String nodeName)
Returns the named child if it exists, or null if it does not.
|
abstract double |
Preferences.getDouble(String key,
double def)
Returns the double value represented by the string associated with the
specified key in this preference node.
|
double |
AbstractPreferences.getDouble(String key,
double def)
Implements the getDouble method as per the specification in
Preferences.getDouble(String,double). |
abstract float |
Preferences.getFloat(String key,
float def)
Returns the float value represented by the string associated with the
specified key in this preference node.
|
float |
AbstractPreferences.getFloat(String key,
float def)
Implements the getFloat method as per the specification in
Preferences.getFloat(String,float). |
abstract int |
Preferences.getInt(String key,
int def)
Returns the int value represented by the string associated with the
specified key in this preference node.
|
int |
AbstractPreferences.getInt(String key,
int def)
Implements the getInt method as per the specification in
Preferences.getInt(String,int). |
abstract long |
Preferences.getLong(String key,
long def)
Returns the long value represented by the string associated with the
specified key in this preference node.
|
long |
AbstractPreferences.getLong(String key,
long def)
Implements the getLong method as per the specification in
Preferences.getLong(String,long). |
protected String |
FileSystemPreferences.getSpi(String key) |
protected abstract String |
AbstractPreferences.getSpi(String key)
Return the value associated with the specified key at this preference
node, or null if there is no association for this key, or the
association cannot be determined at this time.
|
private static int[] |
FileSystemPreferences.lockFile0(String fileName,
int permission,
boolean shared)
Locks file using UNIX file locking.
|
static void |
Base64.main(String[] args) |
abstract Preferences |
Preferences.node(String pathName)
Returns the named preference node in the same tree as this node,
creating it and any of its ancestors if they do not already exist.
|
Preferences |
AbstractPreferences.node(String path)
Implements the node method as per the specification in
Preferences.node(String). |
abstract boolean |
Preferences.nodeExists(String pathName)
Returns true if the named preference node exists in the same tree
as this node.
|
boolean |
AbstractPreferences.nodeExists(String path)
Implements the nodeExists method as per the specification in
Preferences.nodeExists(String). |
private static String |
FileSystemPreferences.nodeName(String dirName)
Returns the node name corresponding to the specified directory name.
|
abstract void |
Preferences.put(String key,
String value)
Associates the specified value with the specified key in this
preference node.
|
void |
AbstractPreferences.put(String key,
String value)
Implements the put method as per the specification in
Preferences.put(String,String). |
abstract void |
Preferences.putBoolean(String key,
boolean value)
Associates a string representing the specified boolean value with the
specified key in this preference node.
|
void |
AbstractPreferences.putBoolean(String key,
boolean value)
Implements the putBoolean method as per the specification in
Preferences.putBoolean(String,boolean). |
abstract void |
Preferences.putByteArray(String key,
byte[] value)
Associates a string representing the specified byte array with the
specified key in this preference node.
|
void |
AbstractPreferences.putByteArray(String key,
byte[] value)
Implements the putByteArray method as per the specification in
Preferences.putByteArray(String,byte[]). |
abstract void |
Preferences.putDouble(String key,
double value)
Associates a string representing the specified double value with the
specified key in this preference node.
|
void |
AbstractPreferences.putDouble(String key,
double value)
Implements the putDouble method as per the specification in
Preferences.putDouble(String,double). |
abstract void |
Preferences.putFloat(String key,
float value)
Associates a string representing the specified float value with the
specified key in this preference node.
|
void |
AbstractPreferences.putFloat(String key,
float value)
Implements the putFloat method as per the specification in
Preferences.putFloat(String,float). |
abstract void |
Preferences.putInt(String key,
int value)
Associates a string representing the specified int value with the
specified key in this preference node.
|
void |
AbstractPreferences.putInt(String key,
int value)
Implements the putInt method as per the specification in
Preferences.putInt(String,int). |
abstract void |
Preferences.putLong(String key,
long value)
Associates a string representing the specified long value with the
specified key in this preference node.
|
void |
AbstractPreferences.putLong(String key,
long value)
Implements the putLong method as per the specification in
Preferences.putLong(String,long). |
protected void |
FileSystemPreferences.putSpi(String key,
String value) |
protected abstract void |
AbstractPreferences.putSpi(String key,
String value)
Put the given key-value association into this preference node.
|
abstract void |
Preferences.remove(String key)
Removes the value associated with the specified key in this preference
node, if any.
|
void |
AbstractPreferences.remove(String key)
Implements the remove(String) method as per the specification
in
Preferences.remove(String). |
protected void |
FileSystemPreferences.removeSpi(String key) |
protected abstract void |
AbstractPreferences.removeSpi(String key)
Remove the association (if any) for the specified key at this
preference node.
|
InputSource |
XmlSupport.Resolver.resolveEntity(String pid,
String sid) |
| Constructor and Description |
|---|
AbstractPreferences(AbstractPreferences parent,
String name)
Creates a preference node with the specified parent and the specified
name relative to its parent.
|
BackingStoreException(String s)
Constructs a BackingStoreException with the specified detail message.
|
FileSystemPreferences.Put(String key,
String value) |
FileSystemPreferences.Remove(String key) |
FileSystemPreferences(FileSystemPreferences parent,
String name)
Construct a new FileSystemPreferences instance with the specified
parent node and name.
|
InvalidPreferencesFormatException(String message)
Constructs an InvalidPreferencesFormatException with the specified
detail message.
|
InvalidPreferencesFormatException(String message,
Throwable cause)
Constructs an InvalidPreferencesFormatException with the specified
detail message and cause.
|
PreferenceChangeEvent(Preferences node,
String key,
String newValue)
Constructs a new
PreferenceChangeEvent instance. |
| Modifier and Type | Field and Description |
|---|---|
private String |
PatternSyntaxException.desc |
private static String |
PatternSyntaxException.nl |
private String |
Pattern.normalizedPattern
The normalized pattern string.
|
private String |
PatternSyntaxException.pattern |
private String |
Pattern.pattern
The original regular-expression pattern string.
|
| Modifier and Type | Field and Description |
|---|---|
private static HashMap<String,String> |
UnicodeProp.aliases |
private static HashMap<String,String> |
UnicodeProp.aliases |
private static HashMap<String,Pattern.CharPropertyNames.CharPropertyFactory> |
Pattern.CharPropertyNames.map |
(package private) Map<String,Integer> |
Pattern.namedGroups
Map the "name" of the "named capturing group" to its group id
node.
|
private static HashMap<String,String> |
UnicodeProp.posix |
private static HashMap<String,String> |
UnicodeProp.posix |
| Modifier and Type | Method and Description |
|---|---|
private String |
Pattern.composeOneStep(String input)
Attempts to compose input by combining the first character
with the first combining mark following it.
|
String |
PatternSyntaxException.getDescription()
Retrieves the description of the error.
|
String |
PatternSyntaxException.getMessage()
Returns a multi-line string containing the description of the syntax
error and its index, the erroneous regular-expression pattern, and a
visual indication of the error index within the pattern.
|
String |
PatternSyntaxException.getPattern()
Retrieves the erroneous regular-expression pattern.
|
String |
Matcher.group()
Returns the input subsequence matched by the previous match.
|
String |
MatchResult.group()
Returns the input subsequence matched by the previous match.
|
String |
Matcher.group(int group)
Returns the input subsequence captured by the given group during the
previous match operation.
|
String |
MatchResult.group(int group)
Returns the input subsequence captured by the given group during the
previous match operation.
|
String |
Matcher.group(String name)
Returns the input subsequence captured by the given
named-capturing group during the previous
match operation.
|
private String |
Pattern.groupname(int ch)
Parses and returns the name of a "named capturing group", the trailing
">" is consumed after parsing.
|
String |
Pattern.pattern()
Returns the regular expression from which this pattern was compiled.
|
private String |
Pattern.produceEquivalentAlternation(String source)
Given a specific sequence composed of a regular character and
combining marks that follow it, produce the alternation that will
match all canonical equivalences of that sequence.
|
private String[] |
Pattern.producePermutations(String input)
Returns an array of strings that have all the possible
permutations of the characters in the input string.
|
static String |
Pattern.quote(String s)
Returns a literal pattern
String for the specified
String. |
static String |
Matcher.quoteReplacement(String s)
Returns a literal replacement
String for the specified
String. |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String[] |
Pattern.split(CharSequence input)
Splits the given input sequence around matches of this pattern.
|
String[] |
Pattern.split(CharSequence input,
int limit)
Splits the given input sequence around matches of this pattern.
|
String |
Pattern.toString()
Returns the string representation of this pattern.
|
String |
Matcher.toString()
Returns the string representation of this matcher.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Map<String,Integer> |
Pattern.namedGroups() |
| Modifier and Type | Method and Description |
|---|---|
private void |
Pattern.accept(int ch,
String s)
Match next character, signal error if failed.
|
Matcher |
Matcher.appendReplacement(StringBuffer sb,
String replacement)
Implements a non-terminal append-and-replace step.
|
(package private) static Pattern.CharProperty |
Pattern.CharPropertyNames.charPropertyFor(String name) |
private Pattern.CharProperty |
Pattern.charPropertyNodeFor(String name)
Returns a CharProperty matching all characters in a named property.
|
static Pattern |
Pattern.compile(String regex)
Compiles the given regular expression into a pattern.
|
static Pattern |
Pattern.compile(String regex,
int flags)
Compiles the given regular expression into a pattern with the given
flags.
|
private String |
Pattern.composeOneStep(String input)
Attempts to compose input by combining the first character
with the first combining mark following it.
|
private static void |
Pattern.CharPropertyNames.defCategory(String name,
int typeMask) |
private static void |
Pattern.CharPropertyNames.defClone(String name,
Pattern.CharPropertyNames.CloneableProperty p) |
private static void |
Pattern.CharPropertyNames.defCtype(String name,
int ctype) |
private static void |
Pattern.CharPropertyNames.defRange(String name,
int lower,
int upper) |
private PatternSyntaxException |
Pattern.error(String s)
Internal method used for handling all syntax errors.
|
static UnicodeProp |
UnicodeProp.forName(String propName) |
static UnicodeProp |
UnicodeProp.forPOSIXName(String propName) |
String |
Matcher.group(String name)
Returns the input subsequence captured by the given
named-capturing group during the previous
match operation.
|
static boolean |
Pattern.matches(String regex,
CharSequence input)
Compiles the given regular expression and attempts to match the given
input against it.
|
private String |
Pattern.produceEquivalentAlternation(String source)
Given a specific sequence composed of a regular character and
combining marks that follow it, produce the alternation that will
match all canonical equivalences of that sequence.
|
private String[] |
Pattern.producePermutations(String input)
Returns an array of strings that have all the possible
permutations of the characters in the input string.
|
static String |
Pattern.quote(String s)
Returns a literal pattern
String for the specified
String. |
static String |
Matcher.quoteReplacement(String s)
Returns a literal replacement
String for the specified
String. |
String |
Matcher.replaceAll(String replacement)
Replaces every subsequence of the input sequence that matches the
pattern with the given replacement string.
|
String |
Matcher.replaceFirst(String replacement)
Replaces the first subsequence of the input sequence that matches the
pattern with the given replacement string.
|
private Pattern.CharProperty |
Pattern.unicodeBlockPropertyFor(String name)
Returns a CharProperty matching all characters in a UnicodeBlock.
|
private Pattern.CharProperty |
Pattern.unicodeScriptPropertyFor(String name)
Returns a CharProperty matching all characters belong to
a UnicodeScript.
|
static UnicodeProp |
UnicodeProp.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
Pattern(String p,
int f)
This private constructor is used to create all Patterns.
|
PatternSyntaxException(String desc,
String regex,
int index)
Constructs a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
LocaleNameProvider.getDisplayCountry(String countryCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 region code (either ISO 3166 country code or UN M.49 area
codes) and the given locale that is appropriate for display to the user.
|
abstract String |
LocaleNameProvider.getDisplayLanguage(String languageCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 language code and the given locale that is appropriate for
display to the user.
|
abstract String |
TimeZoneNameProvider.getDisplayName(String ID,
boolean daylight,
int style,
Locale locale)
Returns a name for the given time zone ID that's suitable for
presentation to the user in the specified locale.
|
String |
CurrencyNameProvider.getDisplayName(String currencyCode,
Locale locale)
Returns a name for the currency that is appropriate for display to the
user.
|
String |
LocaleNameProvider.getDisplayScript(String scriptCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 script code and the given locale that is appropriate for
display to the user.
|
abstract String |
LocaleNameProvider.getDisplayVariant(String variant,
Locale locale)
Returns a localized name for the given variant code and the given locale that
is appropriate for display to the user.
|
abstract String |
CurrencyNameProvider.getSymbol(String currencyCode,
Locale locale)
Gets the symbol of the given currency code for the specified locale.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
LocaleNameProvider.getDisplayCountry(String countryCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 region code (either ISO 3166 country code or UN M.49 area
codes) and the given locale that is appropriate for display to the user.
|
abstract String |
LocaleNameProvider.getDisplayLanguage(String languageCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 language code and the given locale that is appropriate for
display to the user.
|
abstract String |
TimeZoneNameProvider.getDisplayName(String ID,
boolean daylight,
int style,
Locale locale)
Returns a name for the given time zone ID that's suitable for
presentation to the user in the specified locale.
|
String |
CurrencyNameProvider.getDisplayName(String currencyCode,
Locale locale)
Returns a name for the currency that is appropriate for display to the
user.
|
String |
LocaleNameProvider.getDisplayScript(String scriptCode,
Locale locale)
Returns a localized name for the given
IETF BCP47 script code and the given locale that is appropriate for
display to the user.
|
abstract String |
LocaleNameProvider.getDisplayVariant(String variant,
Locale locale)
Returns a localized name for the given variant code and the given locale that
is appropriate for display to the user.
|
abstract String |
CurrencyNameProvider.getSymbol(String currencyCode,
Locale locale)
Gets the symbol of the given currency code for the specified locale.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
ZipEntry.comment |
private String |
ZipFile.name |
(package private) String |
ZipEntry.name |
| Modifier and Type | Field and Description |
|---|---|
private HashSet<String> |
ZipOutputStream.names |
| Modifier and Type | Method and Description |
|---|---|
String |
ZipFile.getComment()
Returns the zip file comment, or null if none.
|
String |
ZipEntry.getComment()
Returns the comment string for the entry, or null if none.
|
String |
ZipFile.getName()
Returns the path name of the ZIP file.
|
String |
ZipEntry.getName()
Returns the name of the entry.
|
private static String |
ZipFile.getZipMessage(long jzfile) |
String |
ZipEntry.toString()
Returns a string representation of the ZIP entry.
|
(package private) String |
ZipCoder.toString(byte[] ba) |
(package private) String |
ZipCoder.toString(byte[] ba,
int length) |
(package private) String |
ZipCoder.toStringUTF8(byte[] ba,
int len) |
| Modifier and Type | Method and Description |
|---|---|
protected ZipEntry |
ZipInputStream.createZipEntry(String name)
Creates a new
ZipEntry object for the specified
entry name. |
(package private) byte[] |
ZipCoder.getBytes(String s) |
(package private) byte[] |
ZipCoder.getBytesUTF8(String s) |
ZipEntry |
ZipFile.getEntry(String name)
Returns the zip file entry for the specified name, or null
if not found.
|
private ZipEntry |
ZipFile.getZipEntry(String name,
long jzentry) |
private static long |
ZipFile.open(String name,
int mode,
long lastModified,
boolean usemmap) |
void |
ZipOutputStream.setComment(String comment)
Sets the ZIP file comment.
|
void |
ZipEntry.setComment(String comment)
Sets the optional comment string for the entry.
|
| Constructor and Description |
|---|
DataFormatException(String s)
Constructs a DataFormatException with the specified detail message.
|
ZipEntry(String name)
Creates a new zip entry with the specified name.
|
ZipError(String s)
Constructs a ZipError with the given detail message.
|
ZipException(String s)
Constructs a
ZipException with the specified detail
message. |
ZipFile(String name)
Opens a zip file for reading.
|
ZipFile(String name,
Charset charset)
Opens a zip file for reading.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
AccessibleContext.ACCESSIBLE_ACTION_PROPERTY
Constant used to indicate that the supported set of actions
has changed.
|
static String |
AccessibleContext.ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY
Constant used to determine when the active descendant of a component
has changed.
|
static String |
AccessibleContext.ACCESSIBLE_CARET_PROPERTY
Constant used to determine when the accessibleText caret has changed.
|
static String |
AccessibleContext.ACCESSIBLE_CHILD_PROPERTY
Constant used to determine when Accessible children are added/removed
from the object.
|
static String |
AccessibleContext.ACCESSIBLE_COMPONENT_BOUNDS_CHANGED
PropertyChangeEvent which indicates that a change has occurred
in a component's bounds.
|
static String |
AccessibleContext.ACCESSIBLE_DESCRIPTION_PROPERTY
Constant used to determine when the accessibleDescription property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_HYPERTEXT_OFFSET
Constant used to indicate that a hypertext element has received focus.
|
static String |
AccessibleContext.ACCESSIBLE_INVALIDATE_CHILDREN
PropertyChangeEvent which indicates that a significant change
has occurred to the children of a component like a tree or text.
|
static String |
AccessibleContext.ACCESSIBLE_NAME_PROPERTY
Constant used to determine when the accessibleName property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY
Constant used to determine when the accessibleSelection has changed.
|
static String |
AccessibleContext.ACCESSIBLE_STATE_PROPERTY
Constant used to determine when the accessibleStateSet property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_CAPTION_CHANGED
Constant used to indicate that the table caption has changed
The old value in the PropertyChangeEvent will be an Accessible
representing the previous table caption and the new value will
be an Accessible representing the new table caption.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED
Constant used to indicate that the column description has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an Integer representing the column index.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED
Constant used to indicate that the column header has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an AccessibleTableModelChange representing
the header change.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_MODEL_CHANGED
Constant used to indicate that table data has changed.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED
Constant used to indicate that the row description has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an Integer representing the row index.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_ROW_HEADER_CHANGED
Constant used to indicate that the row header has changed
The old value in the PropertyChangeEvent will be null and the
new value will be an AccessibleTableModelChange representing
the header change.
|
static String |
AccessibleContext.ACCESSIBLE_TABLE_SUMMARY_CHANGED
Constant used to indicate that the table summary has changed
The old value in the PropertyChangeEvent will be an Accessible
representing the previous table summary and the new value will
be an Accessible representing the new table summary.
|
static String |
AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED
PropertyChangeEvent which indicates that text attributes have changed.
|
static String |
AccessibleContext.ACCESSIBLE_TEXT_PROPERTY
PropertyChangeEvent which indicates that text has changed.
|
static String |
AccessibleContext.ACCESSIBLE_VALUE_PROPERTY
Constant used to determine when the accessibleValue property has
changed.
|
static String |
AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY
Constant used to determine when the visual appearance of the object
has changed.
|
protected String |
AccessibleContext.accessibleDescription
A localized String containing the description of the object.
|
protected String |
AccessibleContext.accessibleName
A localized String containing the name of the object.
|
static String |
AccessibleRelation.CHILD_NODE_OF
Indicates that an object is a child node of one
or more objects.
|
static String |
AccessibleRelation.CHILD_NODE_OF_PROPERTY
Indicates the CHILD_NODE_OF relation between two or more objects
has changed.
|
static String |
AccessibleAction.CLICK
An action which causes a component to execute its default action.
|
static String |
AccessibleRelation.CONTROLLED_BY
Indicates an object is controlled by one or more target
objects.
|
static String |
AccessibleRelation.CONTROLLED_BY_PROPERTY
Identifies that the target object that is doing the controlling has
changed
|
static String |
AccessibleRelation.CONTROLLER_FOR
Indicates an object is a controller for one or more target
objects.
|
static String |
AccessibleRelation.CONTROLLER_FOR_PROPERTY
Identifies that the controller for the target object has changed
|
static String |
AccessibleAction.DECREMENT
An action which decrements a value.
|
private String |
AccessibleBundle.defaultResourceBundleName |
static String |
AccessibleRelation.EMBEDDED_BY
Indicates that an object is embedded in one or more
objects.
|
static String |
AccessibleRelation.EMBEDDED_BY_PROPERTY
Indicates the EMBEDDED_BY relation between two or more objects
has changed.
|
static String |
AccessibleRelation.EMBEDS
Indicates that an object has one or more objects
embedded in it.
|
static String |
AccessibleRelation.EMBEDS_PROPERTY
Indicates the EMBEDS relation between two or more objects
has changed.
|
static String |
AccessibleRelation.FLOWS_FROM
Indicates an object is logically contiguous with a second
object where the second object occurs before the object.
|
static String |
AccessibleRelation.FLOWS_FROM_PROPERTY
Indicates the FLOWS_FROM relation between two objects
has changed.
|
static String |
AccessibleRelation.FLOWS_TO
Indicates an object is logically contiguous with a second
object where the second object occurs after the object.
|
static String |
AccessibleRelation.FLOWS_TO_PROPERTY
Indicates the FLOWS_TO relation between two objects
has changed.
|
static String |
AccessibleAction.INCREMENT
An action which increments a value.
|
protected String |
AccessibleBundle.key
The locale independent name of the state.
|
static String |
AccessibleRelation.LABEL_FOR
Indicates an object is a label for one or more target objects.
|
static String |
AccessibleRelation.LABEL_FOR_PROPERTY
Identifies that the target group for a label has changed
|
static String |
AccessibleRelation.LABELED_BY
Indicates an object is labeled by one or more target objects.
|
static String |
AccessibleRelation.LABELED_BY_PROPERTY
Identifies that the objects that are doing the labeling have changed
|
static String |
AccessibleRelation.MEMBER_OF
Indicates an object is a member of a group of one or more
target objects.
|
static String |
AccessibleRelation.MEMBER_OF_PROPERTY
Identifies that group membership has changed.
|
static String |
AccessibleRelation.PARENT_WINDOW_OF
Indicates that an object is a parent window of one or more
objects.
|
static String |
AccessibleRelation.PARENT_WINDOW_OF_PROPERTY
Indicates the PARENT_WINDOW_OF relation between two or more objects
has changed.
|
static String |
AccessibleRelation.SUBWINDOW_OF
Indicates that an object is a subwindow of one or more
objects.
|
static String |
AccessibleRelation.SUBWINDOW_OF_PROPERTY
Indicates the SUBWINDOW_OF relation between two or more objects
has changed.
|
String |
AccessibleTextSequence.text
The text
|
static String |
AccessibleAction.TOGGLE_EXPAND
An action which causes a tree node to
collapse if expanded and expand if collapsed.
|
static String |
AccessibleAction.TOGGLE_POPUP
An action which causes a popup to become visible if it is hidden and
hidden if it is visible.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
AccessibleHyperlink.getAccessibleActionDescription(int i)
Returns a String description of this particular
link action.
|
String |
AccessibleAction.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object.
|
String |
AccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
AccessibleIcon.getAccessibleIconDescription()
Gets the description of the icon.
|
String |
AccessibleContext.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
AccessibleText.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
AccessibleText.getAtIndex(int part,
int index)
Returns the String at a given index.
|
String |
AccessibleText.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
AccessibleRelation.getKey()
Returns the key for this relation
|
String |
AccessibleText.getSelectedText()
Returns the portion of the text that is selected.
|
String |
AccessibleExtendedText.getTextRange(int startIndex,
int endIndex)
Returns the text between two indices
|
String |
AccessibleEditableText.getTextRange(int startIndex,
int endIndex)
Returns the text string between two indices.
|
String |
AccessibleExtendedComponent.getTitledBorderText()
Returns the titled border text
|
String |
AccessibleExtendedComponent.getToolTipText()
Returns the tool tip text
|
String |
AccessibleBundle.toDisplayString()
Gets localized string describing the key using the default locale.
|
String |
AccessibleBundle.toDisplayString(Locale locale)
Obtains the key as a localized string.
|
protected String |
AccessibleBundle.toDisplayString(String resourceBundleName,
Locale locale)
Obtains the key as a localized string.
|
String |
AccessibleStateSet.toString()
Creates a localized String representing all the states in the set
using the default locale.
|
String |
AccessibleRelationSet.toString()
Creates a localized String representing all the relations in the set
using the default locale.
|
String |
AccessibleBundle.toString()
Gets localized string describing the key using the default locale.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AccessibleRelationSet.contains(String key)
Returns whether the relation set contains a relation
that matches the specified key.
|
void |
AccessibleContext.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes.
|
AccessibleRelation |
AccessibleRelationSet.get(String key)
Returns the relation that matches the specified key.
|
void |
AccessibleEditableText.insertTextAtIndex(int index,
String s)
Inserts the specified string at the given index/
|
private void |
AccessibleBundle.loadResourceBundle(String resourceBundleName,
Locale locale) |
void |
AccessibleEditableText.replaceText(int startIndex,
int endIndex,
String s)
Replaces the text between two indices with the specified
string.
|
void |
AccessibleContext.setAccessibleDescription(String s)
Sets the accessible description of this object.
|
void |
AccessibleIcon.setAccessibleIconDescription(String description)
Sets the description of the icon.
|
void |
AccessibleContext.setAccessibleName(String s)
Sets the localized accessible name of this object.
|
void |
AccessibleEditableText.setTextContents(String s)
Sets the text contents to the specified string.
|
protected String |
AccessibleBundle.toDisplayString(String resourceBundleName,
Locale locale)
Obtains the key as a localized string.
|
| Constructor and Description |
|---|
AccessibleRelation(String key)
Create a new AccessibleRelation using the given locale independent key.
|
AccessibleRelation(String key,
Object target)
Creates a new AccessibleRelation using the given locale independent key.
|
AccessibleRelation(String key,
Object[] target)
Creates a new AccessibleRelation using the given locale independent key.
|
AccessibleRole(String key)
Creates a new AccessibleRole using the given locale independent key.
|
AccessibleState(String key)
Creates a new AccessibleState using the given locale independent key.
|
AccessibleTextSequence(int start,
int end,
String txt)
Constructs an
AccessibleTextSequence with the given
parameters. |
| Modifier and Type | Method and Description |
|---|---|
static Resource.AuthenticationType |
Resource.AuthenticationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
Completions.SimpleCompletion.message |
private String |
Completions.SimpleCompletion.value |
| Modifier and Type | Method and Description |
|---|---|
String |
Completions.SimpleCompletion.getMessage() |
String |
Completion.getMessage()
Returns an informative message about the completion.
|
String |
Completions.SimpleCompletion.getValue() |
String |
Completion.getValue()
Returns the text of the suggested completion.
|
String |
Completions.SimpleCompletion.toString() |
| Modifier and Type | Method and Description |
|---|---|
private static Set<String> |
AbstractProcessor.arrayToSet(String[] array) |
Map<String,String> |
ProcessingEnvironment.getOptions()
Returns the processor-specific options passed to the annotation
processing tool.
|
Map<String,String> |
ProcessingEnvironment.getOptions()
Returns the processor-specific options passed to the annotation
processing tool.
|
Set<String> |
Processor.getSupportedAnnotationTypes()
Returns the names of the annotation types supported by this
processor.
|
Set<String> |
AbstractProcessor.getSupportedAnnotationTypes()
If the processor class is annotated with
SupportedAnnotationTypes, return an unmodifiable set with the
same set of strings as the annotation. |
Set<String> |
Processor.getSupportedOptions()
Returns the options recognized by this processor.
|
Set<String> |
AbstractProcessor.getSupportedOptions()
If the processor class is annotated with
SupportedOptions, return an unmodifiable set with the same set
of strings as the annotation. |
| Modifier and Type | Method and Description |
|---|---|
private static Set<String> |
AbstractProcessor.arrayToSet(String[] array) |
Iterable<? extends Completion> |
Processor.getCompletions(Element element,
AnnotationMirror annotation,
ExecutableElement member,
String userText)
Returns to the tool infrastructure an iterable of suggested
completions to an annotation.
|
Iterable<? extends Completion> |
AbstractProcessor.getCompletions(Element element,
AnnotationMirror annotation,
ExecutableElement member,
String userText)
Returns an empty iterable of completions.
|
static Completion |
Completions.of(String value)
Returns a completion of the value and an empty message
|
static Completion |
Completions.of(String value,
String message)
Returns a completion of the value and message.
|
| Constructor and Description |
|---|
Completions.SimpleCompletion(String value,
String message) |
FilerException(String s)
Constructs an exception with the specified detail message.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
ImageWriteParam.compressionType
A
String containing the name of the current
compression type, or null if none is set. |
protected String[] |
ImageWriteParam.compressionTypes
An array of
Strings containing the names of the
available compression types. |
(package private) String |
ImageIO.CanEncodeImageAndFormatFilter.formatName |
(package private) String |
ImageIO.ContainsFilter.name |
(package private) String |
ImageIO.TranscoderFilter.readerSpiName |
(package private) String |
ImageIO.TranscoderFilter.writerSpiName |
| Modifier and Type | Method and Description |
|---|---|
String[] |
ImageWriteParam.getCompressionQualityDescriptions()
Returns an array of
Strings that may be used along
with getCompressionQualityValues as part of a user
interface for setting or displaying the compression quality
level. |
String |
ImageWriteParam.getCompressionType()
Returns the currently set compression type, or
null if none has been set. |
String[] |
ImageWriteParam.getCompressionTypes()
Returns a list of available compression types, as an array or
Strings, or null if a compression
type may not be chosen using these interfaces. |
String |
ImageReader.getFormatName()
Returns a
String identifying the format of the
input source. |
String |
ImageWriteParam.getLocalizedCompressionTypeName()
Returns a localized version of the name of the current
compression type, using the
Locale returned by
getLocale. |
static String[] |
ImageIO.getReaderFileSuffixes()
Returns an array of
Strings listing all of the
file suffixes associated with the formats understood
by the current set of registered readers. |
static String[] |
ImageIO.getReaderFormatNames()
Returns an array of
Strings listing all of the
informal format names understood by the current set of registered
readers. |
static String[] |
ImageIO.getReaderMIMETypes()
Returns an array of
Strings listing all of the
MIME types understood by the current set of registered
readers. |
private static <S extends ImageReaderWriterSpi> |
ImageIO.getReaderWriterInfo(Class<S> spiClass,
ImageIO.SpiInfo spiInfo) |
private static String |
ImageIO.getTempDir()
Returns the default temporary (cache) directory as defined by the
java.io.tmpdir system property.
|
static String[] |
ImageIO.getWriterFileSuffixes()
Returns an array of
Strings listing all of the
file suffixes associated with the formats understood
by the current set of registered writers. |
static String[] |
ImageIO.getWriterFormatNames()
Returns an array of
Strings listing all of the
informal format names understood by the current set of registered
writers. |
static String[] |
ImageIO.getWriterMIMETypes()
Returns an array of
Strings listing all of the
MIME types understood by the current set of registered
writers. |
(package private) abstract String[] |
ImageIO.SpiInfo.info(ImageReaderWriterSpi spi) |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
ImageIO.contains(String[] names,
String name) |
private static boolean |
ImageIO.contains(String[] names,
String name) |
IIOMetadata |
ImageReader.getImageMetadata(int imageIndex,
String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the given image, or null
if the reader does not support reading metadata or none
is available. |
static Iterator<ImageReader> |
ImageIO.getImageReadersByFormatName(String formatName)
Returns an
Iterator containing all currently
registered ImageReaders that claim to be able to
decode the named format. |
static Iterator<ImageReader> |
ImageIO.getImageReadersByMIMEType(String MIMEType)
Returns an
Iterator containing all currently
registered ImageReaders that claim to be able to
decode files with the given MIME type. |
static Iterator<ImageReader> |
ImageIO.getImageReadersBySuffix(String fileSuffix)
Returns an
Iterator containing all currently
registered ImageReaders that claim to be able to
decode files with the given suffix. |
static Iterator<ImageWriter> |
ImageIO.getImageWriters(ImageTypeSpecifier type,
String formatName)
Returns an
Iterator containing all currently
registered ImageWriters that claim to be able to
encode images of the given layout (specified using an
ImageTypeSpecifier) in the given format. |
static Iterator<ImageWriter> |
ImageIO.getImageWritersByFormatName(String formatName)
Returns an
Iterator containing all currently
registered ImageWriters that claim to be able to
encode the named format. |
static Iterator<ImageWriter> |
ImageIO.getImageWritersByMIMEType(String MIMEType)
Returns an
Iterator containing all currently
registered ImageWriters that claim to be able to
encode files with the given MIME type. |
static Iterator<ImageWriter> |
ImageIO.getImageWritersBySuffix(String fileSuffix)
Returns an
Iterator containing all currently
registered ImageWriters that claim to be able to
encode files with the given suffix. |
private IIOMetadata |
ImageReader.getMetadata(String formatName,
Set nodeNames,
boolean wantStream,
int imageIndex) |
IIOMetadata |
ImageReader.getStreamMetadata(String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the input source as a whole (i.e.,
not associated with any particular image). |
private static ImageWriter |
ImageIO.getWriter(RenderedImage im,
String formatName)
Returns
ImageWriter instance according to given
rendered image and image format or null if there
is no appropriate writer. |
protected void |
ImageWriter.processWarningOccurred(int imageIndex,
String warning)
Broadcasts a warning message to all registered
IIOWriteWarningListeners by calling their
warningOccurred method. |
protected void |
ImageWriter.processWarningOccurred(int imageIndex,
String baseName,
String keyword)
Broadcasts a localized warning message to all registered
IIOWriteWarningListeners by calling their
warningOccurred method with a string taken
from a ResourceBundle. |
protected void |
ImageReader.processWarningOccurred(String warning)
Broadcasts a warning message to all registered
IIOReadWarningListeners by calling their
warningOccurred method. |
protected void |
ImageReader.processWarningOccurred(String baseName,
String keyword)
Broadcasts a localized warning message to all registered
IIOReadWarningListeners by calling their
warningOccurred method with a string taken
from a ResourceBundle. |
void |
ImageWriteParam.setCompressionType(String compressionType)
Sets the compression type to one of the values indicated by
getCompressionTypes. |
static ImageIO.SpiInfo |
ImageIO.SpiInfo.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
File output)
Writes an image using an arbitrary
ImageWriter
that supports the given format to a File. |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
ImageOutputStream output)
Writes an image using the an arbitrary
ImageWriter
that supports the given format to an
ImageOutputStream. |
static boolean |
ImageIO.write(RenderedImage im,
String formatName,
OutputStream output)
Writes an image using an arbitrary
ImageWriter
that supports the given format to an OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
IIOMetadata |
ImageReader.getImageMetadata(int imageIndex,
String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the given image, or null
if the reader does not support reading metadata or none
is available. |
IIOMetadata |
ImageReader.getStreamMetadata(String formatName,
Set<String> nodeNames)
Returns an
IIOMetadata object representing the
metadata associated with the input source as a whole (i.e.,
not associated with any particular image). |
| Constructor and Description |
|---|
IIOException(String message)
Constructs an
IIOException with a given message
String. |
IIOException(String message,
Throwable cause)
Constructs an
IIOException with a given message
String and a Throwable that was its
underlying cause. |
ImageIO.CanEncodeImageAndFormatFilter(ImageTypeSpecifier type,
String formatName) |
ImageIO.ContainsFilter(Method method,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
IIOReadWarningListener.warningOccurred(ImageReader source,
String warning)
Reports the occurence of a non-fatal error in decoding.
|
void |
IIOWriteWarningListener.warningOccurred(ImageWriter source,
int imageIndex,
String warning)
Reports the occurence of a non-fatal error in encoding.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
IIOMetadataFormatImpl.Attribute.attrName |
(package private) String |
IIOMetadataFormatImpl.Attribute.defaultValue |
(package private) String |
IIOMetadataFormatImpl.Element.elementName |
protected String[] |
IIOMetadata.extraMetadataFormatClassNames
An array of names of classes implementing
IIOMetadataFormat
and representing the metadata formats, other than the standard and
native formats, that are supported by this plug-in,
initialized to null and set via the constructor. |
protected String[] |
IIOMetadata.extraMetadataFormatNames
An array of names of formats, other than the standard and
native formats, that are supported by this plug-in,
initialized to
null and set via the constructor. |
(package private) String |
IIOMetadataFormatImpl.Attribute.maxValue |
(package private) String |
IIOMetadataFormatImpl.Attribute.minValue |
(package private) String |
IIOAttr.name |
protected String |
IIOMetadata.nativeMetadataFormatClassName
The name of the class implementing
IIOMetadataFormat
and representing the native metadata format, initialized to
null and set via the constructor. |
protected String |
IIOMetadata.nativeMetadataFormatName
The name of the native metadata format for this object,
initialized to
null and set via the constructor. |
private String |
IIOMetadataNode.nodeName
The name of the node as a
String. |
private String |
IIOMetadataNode.nodeValue
The value of the node as a
String. |
private String |
IIOMetadataFormatImpl.resourceBaseName |
private String |
IIOMetadataFormatImpl.rootName |
static String |
IIOMetadataFormatImpl.standardMetadataFormatName
A
String constant containing the standard format
name, "javax_imageio_1.0". |
(package private) String |
IIOAttr.value |
| Modifier and Type | Method and Description |
|---|---|
String |
IIOMetadataNode.getAttribute(String name)
Retrieves an attribute value by name.
|
String |
IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeDefaultValue(String elementName,
String attrName)
Returns the default value of the named attribute, if it is not
explictly present within the named element, as a
String, or null if no default value
is available. |
String |
IIOMetadataFormatImpl.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null. |
String |
IIOMetadataFormat.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null. |
String[] |
IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,
String attrName) |
String[] |
IIOMetadataFormat.getAttributeEnumerations(String elementName,
String attrName)
Returns an array of
Strings containing the legal
enumerated values for the given attribute within the named
element. |
String |
IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMaxValue(String elementName,
String attrName)
Returns the maximum legal value for the attribute.
|
String |
IIOMetadataFormatImpl.getAttributeMinValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMinValue(String elementName,
String attrName)
Returns the minimum legal value for the attribute.
|
String[] |
IIOMetadataFormatImpl.getAttributeNames(String elementName) |
String[] |
IIOMetadataFormat.getAttributeNames(String elementName)
Returns an array of
Strings listing the names of
the attributes that may be associated with the named element. |
String |
IIOMetadataNode.getAttributeNS(String namespaceURI,
String localName)
Equivalent to
getAttribute(localName). |
String |
IIOMetadataNode.getBaseURI()
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
String[] |
IIOMetadataFormatImpl.getChildNames(String elementName) |
String[] |
IIOMetadataFormat.getChildNames(String elementName)
Returns an array of
Strings indicating the names
of the element which are allowed to be children of the named
element, in the order in which they should appear. |
String |
IIOMetadataFormatImpl.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null. |
String |
IIOMetadataFormat.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null. |
String[] |
IIOMetadata.getExtraMetadataFormatNames()
Returns an array of
Strings containing the names
of additional metadata formats, other than the native and standard
formats, recognized by this plug-in's
getAsTree, setFromTree, and
mergeTree methods. |
String |
IIOMetadataNode.getLocalName()
Equivalent to
getNodeName. |
String[] |
IIOMetadata.getMetadataFormatNames()
Returns an array of
Strings containing the names
of all metadata formats, including the native and standard
formats, recognized by this plug-in's getAsTree,
setFromTree, and mergeTree methods. |
String |
IIOAttr.getName() |
String |
IIOMetadataNode.getNamespaceURI()
Returns
null, since namespaces are not supported. |
String |
IIOMetadata.getNativeMetadataFormatName()
Returns the name of the "native" metadata format for this
plug-in, which typically allows for lossless encoding and
transmission of the metadata stored in the format handled by
this plug-in.
|
String |
IIOMetadataNode.getNodeName()
Returns the node name associated with this node.
|
String |
IIOAttr.getNodeName() |
String |
IIOMetadataNode.getNodeValue()
Returns the value associated with this node.
|
String |
IIOAttr.getNodeValue() |
String |
IIOMetadataNode.getPrefix()
Returns
null, since namespaces are not supported. |
private String |
IIOMetadataFormatImpl.getResource(String key,
Locale locale) |
protected String |
IIOMetadataFormatImpl.getResourceBaseName()
Returns the currently set base name for locating
ResourceBundles. |
String |
IIOMetadataFormatImpl.getRootName() |
String |
IIOMetadataFormat.getRootName()
Returns the name of the root element of the format.
|
String |
IIOMetadataNode.getTagName()
Equivalent to
getNodeName. |
String |
IIOMetadataNode.getTextContent()
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
String |
IIOAttr.getValue() |
String |
IIOMetadataNode.lookupNamespaceURI(String prefix)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
String |
IIOMetadataNode.lookupPrefix(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
int listMinLength,
int listMaxLength)
Adds a new attribute to a previously defined element that will
be defined by a list of values.
|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue)
Adds a new attribute to a previously defined element that may
be set to an arbitrary value.
|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
List<String> enumeratedValues)
Adds a new attribute to a previously defined element that will
be defined by a set of enumerated values.
|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
String minValue,
String maxValue,
boolean minInclusive,
boolean maxInclusive)
Adds a new attribute to a previously defined element that will
be defined by a range of values.
|
protected void |
IIOMetadataFormatImpl.addBooleanAttribute(String elementName,
String attrName,
boolean hasDefaultValue,
boolean defaultValue)
Adds a new attribute to a previously defined element that will
be defined by the enumerated values
TRUE and
FALSE, with a datatype of
DATATYPE_BOOLEAN. |
protected void |
IIOMetadataFormatImpl.addChildElement(String elementName,
String parentName)
Adds an existing element to the list of legal children for a
given parent node type.
|
protected void |
IIOMetadataFormatImpl.addElement(String elementName,
String parentName,
int childPolicy)
Adds a new element type to this metadata document format with a
child policy other than
CHILD_POLICY_REPEAT. |
protected void |
IIOMetadataFormatImpl.addElement(String elementName,
String parentName,
int minChildren,
int maxChildren)
Adds a new element type to this metadata document format with a
child policy of
CHILD_POLICY_REPEAT. |
protected void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<?> classType,
int arrayMinLength,
int arrayMaxLength)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
protected <T> void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
protected <T> void |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
boolean required,
T defaultValue,
List<? extends T> enumeratedValues)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
protected <T extends Object & Comparable<? super T>> |
IIOMetadataFormatImpl.addObjectValue(String elementName,
Class<T> classType,
T defaultValue,
Comparable<? super T> minValue,
Comparable<? super T> maxValue,
boolean minInclusive,
boolean maxInclusive)
Allows an
Object reference of a given class type
to be stored in nodes implementing the named element. |
abstract boolean |
IIOMetadataFormatImpl.canNodeAppear(String elementName,
ImageTypeSpecifier imageType) |
boolean |
IIOMetadataFormat.canNodeAppear(String elementName,
ImageTypeSpecifier imageType)
Returns
true if the element (and the subtree below
it) is allowed to appear in a metadata document for an image of
the given type, defined by an ImageTypeSpecifier. |
abstract Node |
IIOMetadata.getAsTree(String formatName)
Returns an XML DOM
Node object that represents the
root of a tree of metadata contained within this object
according to the conventions defined by a given metadata
format. |
String |
IIOMetadataNode.getAttribute(String name)
Retrieves an attribute value by name.
|
private IIOMetadataFormatImpl.Attribute |
IIOMetadataFormatImpl.getAttribute(String elementName,
String attrName) |
int |
IIOMetadataFormatImpl.getAttributeDataType(String elementName,
String attrName) |
int |
IIOMetadataFormat.getAttributeDataType(String elementName,
String attrName)
Returns one of the constants starting with
DATATYPE_, indicating the format and
interpretation of the value of the given attribute within th
enamed element. |
String |
IIOMetadataFormatImpl.getAttributeDefaultValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeDefaultValue(String elementName,
String attrName)
Returns the default value of the named attribute, if it is not
explictly present within the named element, as a
String, or null if no default value
is available. |
String |
IIOMetadataFormatImpl.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null. |
String |
IIOMetadataFormat.getAttributeDescription(String elementName,
String attrName,
Locale locale)
Returns a
String containing a description of the
named attribute, or null. |
String[] |
IIOMetadataFormatImpl.getAttributeEnumerations(String elementName,
String attrName) |
String[] |
IIOMetadataFormat.getAttributeEnumerations(String elementName,
String attrName)
Returns an array of
Strings containing the legal
enumerated values for the given attribute within the named
element. |
int |
IIOMetadataFormatImpl.getAttributeListMaxLength(String elementName,
String attrName) |
int |
IIOMetadataFormat.getAttributeListMaxLength(String elementName,
String attrName)
Returns the maximum number of list items that may be used to
define this attribute.
|
int |
IIOMetadataFormatImpl.getAttributeListMinLength(String elementName,
String attrName) |
int |
IIOMetadataFormat.getAttributeListMinLength(String elementName,
String attrName)
Returns the minimum number of list items that may be used to
define this attribute.
|
String |
IIOMetadataFormatImpl.getAttributeMaxValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMaxValue(String elementName,
String attrName)
Returns the maximum legal value for the attribute.
|
String |
IIOMetadataFormatImpl.getAttributeMinValue(String elementName,
String attrName) |
String |
IIOMetadataFormat.getAttributeMinValue(String elementName,
String attrName)
Returns the minimum legal value for the attribute.
|
String[] |
IIOMetadataFormatImpl.getAttributeNames(String elementName) |
String[] |
IIOMetadataFormat.getAttributeNames(String elementName)
Returns an array of
Strings listing the names of
the attributes that may be associated with the named element. |
Attr |
IIOMetadataNode.getAttributeNode(String name) |
Attr |
IIOMetadataNode.getAttributeNodeNS(String namespaceURI,
String localName)
Equivalent to
getAttributeNode(localName). |
String |
IIOMetadataNode.getAttributeNS(String namespaceURI,
String localName)
Equivalent to
getAttribute(localName). |
int |
IIOMetadataFormatImpl.getAttributeValueType(String elementName,
String attrName) |
int |
IIOMetadataFormat.getAttributeValueType(String elementName,
String attrName)
Returns one of the constants starting with
VALUE_,
indicating whether the values of the given attribute within the
named element are arbitrary, constrained to lie within a
specified range, constrained to be one of a set of enumerated
values, or are a whitespace-separated list of arbitrary values. |
String[] |
IIOMetadataFormatImpl.getChildNames(String elementName) |
String[] |
IIOMetadataFormat.getChildNames(String elementName)
Returns an array of
Strings indicating the names
of the element which are allowed to be children of the named
element, in the order in which they should appear. |
int |
IIOMetadataFormatImpl.getChildPolicy(String elementName) |
int |
IIOMetadataFormat.getChildPolicy(String elementName)
Returns one of the constants starting with
CHILD_POLICY_, indicating the legal pattern of
children for the named element. |
private IIOMetadataFormatImpl.Element |
IIOMetadataFormatImpl.getElement(String elementName) |
private IIOMetadataFormatImpl.Element |
IIOMetadataFormatImpl.getElement(String elementName,
boolean mustAppear)
Utility method for locating an element.
|
String |
IIOMetadataFormatImpl.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null. |
String |
IIOMetadataFormat.getElementDescription(String elementName,
Locale locale)
Returns a
String containing a description of the
named element, or null. |
int |
IIOMetadataFormatImpl.getElementMaxChildren(String elementName) |
int |
IIOMetadataFormat.getElementMaxChildren(String elementName)
Returns the maximum number of children of the named element
with child policy
CHILD_POLICY_REPEAT. |
int |
IIOMetadataFormatImpl.getElementMinChildren(String elementName) |
int |
IIOMetadataFormat.getElementMinChildren(String elementName)
Returns the minimum number of children of the named element
with child policy
CHILD_POLICY_REPEAT. |
NodeList |
IIOMetadataNode.getElementsByTagName(String name) |
private void |
IIOMetadataNode.getElementsByTagName(String name,
List l) |
NodeList |
IIOMetadataNode.getElementsByTagNameNS(String namespaceURI,
String localName)
Equivalent to
getElementsByTagName(localName). |
Object |
IIOMetadataNode.getFeature(String feature,
String version)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
IIOMetadataFormat |
IIOMetadata.getMetadataFormat(String formatName)
Returns an
IIOMetadataFormat object describing the
given metadata format, or null if no description
is available. |
Node |
IIONamedNodeMap.getNamedItem(String name) |
Node |
IIONamedNodeMap.getNamedItemNS(String namespaceURI,
String localName)
Equivalent to
getNamedItem(localName). |
int |
IIOMetadataFormatImpl.getObjectArrayMaxLength(String elementName) |
int |
IIOMetadataFormat.getObjectArrayMaxLength(String elementName)
Returns the maximum number of array elements that may be used
to define the
Object reference within the named
element. |
int |
IIOMetadataFormatImpl.getObjectArrayMinLength(String elementName) |
int |
IIOMetadataFormat.getObjectArrayMinLength(String elementName)
Returns the minimum number of array elements that may be used
to define the
Object reference within the named
element. |
Class<?> |
IIOMetadataFormatImpl.getObjectClass(String elementName) |
Class<?> |
IIOMetadataFormat.getObjectClass(String elementName)
Returns the
Class type of the Object
reference stored within the element. |
Object |
IIOMetadataFormatImpl.getObjectDefaultValue(String elementName) |
Object |
IIOMetadataFormat.getObjectDefaultValue(String elementName)
Returns an
Objects containing the default
value for the Object reference within
the named element. |
Object[] |
IIOMetadataFormatImpl.getObjectEnumerations(String elementName) |
Object[] |
IIOMetadataFormat.getObjectEnumerations(String elementName)
Returns an array of
Objects containing the legal
enumerated values for the Object reference within
the named element. |
Comparable<?> |
IIOMetadataFormatImpl.getObjectMaxValue(String elementName) |
Comparable<?> |
IIOMetadataFormat.getObjectMaxValue(String elementName)
Returns the maximum legal value for the
Object
reference within the named element. |
Comparable<?> |
IIOMetadataFormatImpl.getObjectMinValue(String elementName) |
Comparable<?> |
IIOMetadataFormat.getObjectMinValue(String elementName)
Returns the minimum legal value for the
Object
reference within the named element. |
private IIOMetadataFormatImpl.ObjectValue |
IIOMetadataFormatImpl.getObjectValue(String elementName) |
int |
IIOMetadataFormatImpl.getObjectValueType(String elementName) |
int |
IIOMetadataFormat.getObjectValueType(String elementName)
Returns one of the enumerated values starting with
VALUE_, indicating the type of values
(enumeration, range, or array) that are allowed for the
Object reference. |
private String |
IIOMetadataFormatImpl.getResource(String key,
Locale locale) |
Object |
IIOMetadataNode.getUserData(String key)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
boolean |
IIOMetadataNode.hasAttribute(String name) |
boolean |
IIOMetadataNode.hasAttributeNS(String namespaceURI,
String localName)
Equivalent to
hasAttribute(localName). |
boolean |
IIOMetadataFormatImpl.isAttributeRequired(String elementName,
String attrName) |
boolean |
IIOMetadataFormat.isAttributeRequired(String elementName,
String attrName)
Returns
true if the named attribute must be
present within the named element. |
boolean |
IIOMetadataNode.isDefaultNamespace(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
boolean |
IIOMetadataNode.isSupported(String feature,
String version)
Returns
false since DOM features are not
supported. |
String |
IIOMetadataNode.lookupNamespaceURI(String prefix)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
String |
IIOMetadataNode.lookupPrefix(String namespaceURI)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
abstract void |
IIOMetadata.mergeTree(String formatName,
Node root)
Alters the internal state of this
IIOMetadata
object from a tree of XML DOM Nodes whose syntax
is defined by the given metadata format. |
void |
IIOMetadataNode.removeAttribute(String name) |
private void |
IIOMetadataNode.removeAttribute(String name,
boolean checkPresent) |
protected void |
IIOMetadataFormatImpl.removeAttribute(String elementName,
String attrName)
Removes an attribute from a previously defined element.
|
void |
IIOMetadataNode.removeAttributeNS(String namespaceURI,
String localName)
Equivalent to
removeAttribute(localName). |
protected void |
IIOMetadataFormatImpl.removeElement(String elementName)
Removes an element from the format.
|
Node |
IIONamedNodeMap.removeNamedItem(String name) |
Node |
IIONamedNodeMap.removeNamedItemNS(String namespaceURI,
String localName)
Equivalent to
removeNamedItem(localName). |
protected void |
IIOMetadataFormatImpl.removeObjectValue(String elementName)
Disallows an
Object reference from being stored in
nodes implementing the named element. |
void |
IIOMetadataNode.setAttribute(String name,
String value) |
void |
IIOMetadataNode.setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Equivalent to
setAttribute(qualifiedName, value). |
void |
IIOMetadata.setFromTree(String formatName,
Node root)
Sets the internal state of this
IIOMetadata object
from a tree of XML DOM Nodes whose syntax is
defined by the given metadata format. |
void |
IIOMetadataNode.setIdAttribute(String name,
boolean isId)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
void |
IIOMetadataNode.setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
void |
IIOMetadataNode.setNodeValue(String nodeValue)
Sets the
String value associated with this node. |
void |
IIOAttr.setNodeValue(String value) |
void |
IIOMetadataNode.setPrefix(String prefix)
Does nothing, since namespaces are not supported.
|
protected void |
IIOMetadataFormatImpl.setResourceBaseName(String resourceBaseName)
Sets a new base name for locating
ResourceBundles
containing descriptions of elements and attributes for this
format. |
void |
IIOMetadataNode.setTextContent(String textContent)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
Object |
IIOMetadataNode.setUserData(String key,
Object data,
UserDataHandler handler)
This DOM Level 3 method is not supported for
IIOMetadataNode
and will throw a DOMException. |
void |
IIOAttr.setValue(String value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
IIOMetadataFormatImpl.addAttribute(String elementName,
String attrName,
int dataType,
boolean required,
String defaultValue,
List<String> enumeratedValues)
Adds a new attribute to a previously defined element that will
be defined by a set of enumerated values.
|
| Constructor and Description |
|---|
IIOAttr(Element owner,
String name,
String value) |
IIODOMException(short code,
String message) |
IIOInvalidTreeException(String message,
Node offendingNode)
Constructs an
IIOInvalidTreeException with a
message string and a reference to the Node that
caused the parsing error. |
IIOInvalidTreeException(String message,
Throwable cause,
Node offendingNode)
Constructs an
IIOInvalidTreeException with a
message string, a reference to an exception that caused this
exception, and a reference to the Node that caused
the parsing error. |
IIOMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames)
Constructs an
IIOMetadata object with the given
format names and format class names, as well as a boolean
indicating whether the standard format is supported. |
IIOMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames)
Constructs an
IIOMetadata object with the given
format names and format class names, as well as a boolean
indicating whether the standard format is supported. |
IIOMetadata(boolean standardMetadataFormatSupported,
String nativeMetadataFormatName,
String nativeMetadataFormatClassName,
String[] extraMetadataFormatNames,
String[] extraMetadataFormatClassNames)
Constructs an
IIOMetadata object with the given
format names and format class names, as well as a boolean
indicating whether the standard format is supported. |
IIOMetadataFormatImpl(String rootName,
int childPolicy)
Constructs a blank
IIOMetadataFormatImpl instance,
with a given root element name and child policy (other than
CHILD_POLICY_REPEAT). |
IIOMetadataFormatImpl(String rootName,
int minChildren,
int maxChildren)
Constructs a blank
IIOMetadataFormatImpl instance,
with a given root element name and a child policy of
CHILD_POLICY_REPEAT. |
IIOMetadataNode(String nodeName)
Constructs an
IIOMetadataNode with a given node
name. |
| Modifier and Type | Field and Description |
|---|---|
private String[] |
JPEGImageWriteParam.compressionNames |
private String[] |
JPEGImageWriteParam.qualityDescs |
| Modifier and Type | Method and Description |
|---|---|
String[] |
JPEGImageWriteParam.getCompressionQualityDescriptions() |
String |
JPEGQTable.toString()
Returns a
String representing this quantization table. |
String |
JPEGHuffmanTable.toString()
Returns a
String representing this Huffman table. |
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
ImageReaderWriterSpi.extraImageMetadataFormatClassNames
An array of
Strings containing the class names of
any additional image metadata formats supported by this
plug-in, initially null. |
protected String[] |
ImageReaderWriterSpi.extraImageMetadataFormatNames
An array of
Strings containing the names of any
additional image metadata formats supported by this plug-in,
initially null. |
protected String[] |
ImageReaderWriterSpi.extraStreamMetadataFormatClassNames
An array of
Strings containing the class names of
any additional stream metadata formats supported by this plug-in,
initially null. |
protected String[] |
ImageReaderWriterSpi.extraStreamMetadataFormatNames
An array of
Strings containing the names of any
additional stream metadata formats supported by this plug-in,
initially null. |
protected String[] |
ImageReaderWriterSpi.MIMETypes
An array of strings to be returned from
getMIMETypes, initially null. |
protected String[] |
ImageReaderWriterSpi.names
An array of strings to be returned from
getFormatNames, initially null. |
protected String |
ImageReaderWriterSpi.nativeImageMetadataFormatClassName
A
String containing the class name of the
native stream metadata format supported by this plug-in,
initially null. |
protected String |
ImageReaderWriterSpi.nativeImageMetadataFormatName
A
String containing the name of the
native stream metadata format supported by this plug-in,
initially null. |
protected String |
ImageReaderWriterSpi.nativeStreamMetadataFormatClassName
A
String containing the class name of the native
stream metadata format supported by this plug-in, initially
null. |
protected String |
ImageReaderWriterSpi.nativeStreamMetadataFormatName
A
String containing the name of the native stream
metadata format supported by this plug-in, initially
null. |
protected String |
ImageReaderWriterSpi.pluginClassName
A
String containing the name of the associated
plug-in class, initially null. |
protected String[] |
ImageWriterSpi.readerSpiNames
An array of strings to be returned from
getImageReaderSpiNames, initially
null. |
protected String[] |
ImageReaderWriterSpi.suffixes
An array of strings to be returned from
getFileSuffixes, initially null. |
protected String |
IIOServiceProvider.vendorName
A
String to be returned from
getVendorName, initially null. |
protected String |
IIOServiceProvider.version
A
String to be returned from
getVersion, initially null. |
protected String[] |
ImageReaderSpi.writerSpiNames
An array of strings to be returned from
getImageWriterSpiNames, initially
null. |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
IIOServiceProvider.getDescription(Locale locale)
Returns a brief, human-readable description of this service
provider and its associated implementation.
|
String[] |
ImageReaderWriterSpi.getExtraImageMetadataFormatNames()
Returns an array of
Strings containing the names
of additional document formats, other than the native and
standard formats, recognized by the
getAsTree and setFromTree methods on
the image metadata objects produced or consumed by this
plug-in. |
String[] |
ImageReaderWriterSpi.getExtraStreamMetadataFormatNames()
Returns an array of
Strings containing the names
of additional document formats, other than the native and
standard formats, recognized by the
getAsTree and setFromTree methods on
the stream metadata objects produced or consumed by this
plug-in. |
String[] |
ImageReaderWriterSpi.getFileSuffixes()
Returns an array of
Strings containing a list of
file suffixes associated with the formats that are generally
usable by the ImageReader or
ImageWriter implementation associated with this
service provider. |
String[] |
ImageReaderWriterSpi.getFormatNames()
Returns an array of
Strings containing
human-readable names for the formats that are generally usable
by the ImageReader or ImageWriter
implementation associated with this service provider. |
String[] |
ImageWriterSpi.getImageReaderSpiNames()
Returns an array of
Strings containing all the
fully qualified names of all the ImageReaderSpi
classes that can understand the internal metadata
representation used by the ImageWriter associated
with this service provider, or null if there are
no such ImageReaders specified. |
String[] |
ImageReaderSpi.getImageWriterSpiNames()
Returns an array of
Strings containing the fully
qualified names of all the ImageWriterSpi classes
that can understand the internal metadata representation used
by the ImageReader associated with this service
provider, or null if there are no such
ImageWriters specified. |
String[] |
ImageReaderWriterSpi.getMIMETypes()
Returns an array of
Strings containing a list of
MIME types associated with the formats that are generally
usable by the ImageReader or
ImageWriter implementation associated with this
service provider. |
String |
ImageReaderWriterSpi.getNativeImageMetadataFormatName()
Returns the name of the "native" image metadata format for
this plug-in, which typically allows for lossless encoding and
transmission of the image metadata stored in the format handled by
this plug-in.
|
String |
ImageReaderWriterSpi.getNativeStreamMetadataFormatName()
Returns the name of the "native" stream metadata format for
this plug-in, which typically allows for lossless encoding and
transmission of the stream metadata stored in the format handled by
this plug-in.
|
String |
ImageReaderWriterSpi.getPluginClassName()
Returns the fully-qualified class name of the
ImageReader or ImageWriter plug-in
associated with this service provider. |
abstract String |
ImageTranscoderSpi.getReaderServiceProviderName()
Returns the fully qualified class name of an
ImageReaderSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder. |
String |
IIOServiceProvider.getVendorName()
Returns the name of the vendor responsible for creating this
service provider and its associated implementation.
|
String |
IIOServiceProvider.getVersion()
Returns a string describing the version
number of this service provider and its associated
implementation.
|
abstract String |
ImageTranscoderSpi.getWriterServiceProviderName()
Returns the fully qualified class name of an
ImageWriterSpi class that generates
IIOMetadata objects that may be used as input to
this transcoder. |
| Modifier and Type | Method and Description |
|---|---|
IIOMetadataFormat |
ImageReaderWriterSpi.getImageMetadataFormat(String formatName)
Returns an
IIOMetadataFormat object describing the
given image metadata format, or null if no
description is available. |
private IIOMetadataFormat |
ImageReaderWriterSpi.getMetadataFormat(String formatName,
boolean supportsStandard,
String nativeName,
String nativeClassName,
String[] extraNames,
String[] extraClassNames) |
private IIOMetadataFormat |
ImageReaderWriterSpi.getMetadataFormat(String formatName,
boolean supportsStandard,
String nativeName,
String nativeClassName,
String[] extraNames,
String[] extraClassNames) |
private IIOMetadataFormat |
ImageReaderWriterSpi.getMetadataFormat(String formatName,
boolean supportsStandard,
String nativeName,
String nativeClassName,
String[] extraNames,
String[] extraClassNames) |
IIOMetadataFormat |
ImageReaderWriterSpi.getStreamMetadataFormat(String formatName)
Returns an
IIOMetadataFormat object describing the
given stream metadata format, or null if no
description is available. |
| Constructor and Description |
|---|
IIOServiceProvider(String vendorName,
String version)
Constructs an
IIOServiceProvider with a given
vendor name and version identifier. |
ImageInputStreamSpi(String vendorName,
String version,
Class<?> inputClass)
Constructs an
ImageInputStreamSpi with a given set
of values. |
ImageOutputStreamSpi(String vendorName,
String version,
Class<?> outputClass)
Constructs an
ImageOutputStreamSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String readerClassName,
Class[] inputTypes,
String[] writerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageReaderWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String pluginClassName,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageReaderWriterSpi with a given
set of values. |
ImageTranscoderSpi(String vendorName,
String version)
Constructs an
ImageTranscoderSpi with a given set
of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
ImageWriterSpi(String vendorName,
String version,
String[] names,
String[] suffixes,
String[] MIMETypes,
String writerClassName,
Class[] outputTypes,
String[] readerSpiNames,
boolean supportsStandardStreamMetadataFormat,
String nativeStreamMetadataFormatName,
String nativeStreamMetadataFormatClassName,
String[] extraStreamMetadataFormatNames,
String[] extraStreamMetadataFormatClassNames,
boolean supportsStandardImageMetadataFormat,
String nativeImageMetadataFormatName,
String nativeImageMetadataFormatClassName,
String[] extraImageMetadataFormatNames,
String[] extraImageMetadataFormatClassNames)
Constructs an
ImageWriterSpi with a given
set of values. |
| Modifier and Type | Method and Description |
|---|---|
String |
ImageInputStreamImpl.readLine() |
String |
ImageInputStream.readLine()
Reads the next line of text from the input stream.
|
String |
ImageInputStreamImpl.readUTF() |
String |
ImageInputStream.readUTF()
Reads in a string that has been encoded using a
modified
UTF-8
format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImageOutputStreamImpl.writeBytes(String s) |
void |
ImageOutputStream.writeBytes(String s)
Writes a string to the output stream.
|
void |
ImageOutputStreamImpl.writeChars(String s) |
void |
ImageOutputStream.writeChars(String s)
Writes a string to the output stream.
|
void |
ImageOutputStreamImpl.writeUTF(String s) |
void |
ImageOutputStream.writeUTF(String s)
Writes two bytes of length information to the output stream in
network byte order, followed by the
modified
UTF-8
representation of every character in the string
s. |
| Modifier and Type | Field and Description |
|---|---|
private static Set<String> |
SourceVersion.keywords |
| Modifier and Type | Method and Description |
|---|---|
static SourceVersion |
SourceVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
UnknownEntityException(String message)
Creates a new
UnknownEntityException with the specified
detail message. |
| Modifier and Type | Field and Description |
|---|---|
private String |
Modifier.lowercase |
| Modifier and Type | Method and Description |
|---|---|
String |
Modifier.toString()
Returns this modifier's name in lowercase.
|
String |
AnnotationValue.toString()
Returns a string representation of this value.
|
| Modifier and Type | Method and Description |
|---|---|
static NestingKind |
NestingKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Modifier |
Modifier.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementKind |
ElementKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
R |
AnnotationValueVisitor.visitString(String s,
P p)
Visits a string value in an annotation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TypeMirror.toString()
Returns an informative string representation of this type.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeKind |
TypeKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
MirroredTypesException(String message,
TypeMirror type) |
| Modifier and Type | Method and Description |
|---|---|
String |
Elements.getConstantExpression(Object value)
Returns the text of a constant expression representing a
primitive value or a string.
|
String |
Elements.getDocComment(Element e)
Returns the text of the documentation ("Javadoc")
comment of an element.
|
| Modifier and Type | Method and Description |
|---|---|
R |
SimpleAnnotationValueVisitor6.visitString(String s,
P p)
Visits a string value in an annotation.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
ObjectName._canonicalName
a String containing the canonical name
|
private String |
MBeanPermission.actions
The actions string.
|
private String |
ClassAttributeValueExp.attr |
private String |
AttributeValueExp.attr |
static String |
AttributeChangeNotification.ATTRIBUTE_CHANGE
Notification type which indicates that the observed MBean attribute value has changed.
|
private String |
AttributeChangeNotification.attributeName |
private String |
MBeanAttributeInfo.attributeType |
private String |
AttributeChangeNotification.attributeType |
private static String[] |
MBeanServerPermission.canonicalNames |
private String |
QualifiedAttributeValueExp.className |
private String |
ObjectInstance.className |
private String |
MBeanInfo.className |
private String |
MBeanPermission.classNamePrefix
The classname prefix that must match.
|
static String |
JMX.DEFAULT_VALUE_FIELD
The name of the
defaultValue field. |
private String |
MBeanInfo.description |
protected String |
MBeanFeatureInfo.description
The human-readable description of the feature.
|
static String |
JMX.IMMUTABLE_INFO_FIELD
The name of the
immutableInfo field. |
static String |
JMX.INTERFACE_CLASS_NAME_FIELD
The name of the
interfaceClassName field. |
static String |
JMX.LEGAL_VALUES_FIELD
The name of the
legalValues field. |
static String |
JMX.MAX_VALUE_FIELD
The name of the
maxValue field. |
private String |
MBeanServerDelegate.mbeanServerId
The MBean server agent identification.
|
private String |
MBeanPermission.member
The member that must match.
|
private String |
Notification.message |
static String |
JMX.MIN_VALUE_FIELD
The name of the
minValue field. |
static String |
JMX.MXBEAN_FIELD
The name of the
mxbean field. |
protected String |
MBeanFeatureInfo.name
The name of the feature.
|
private String |
Attribute.name |
private static String[] |
MBeanServerPermission.names |
private String[] |
ImmutableDescriptor.names
The names of the fields in this ImmutableDescriptor with their
original case.
|
private static String[] |
MBeanNotificationInfo.NO_TYPES |
private String |
BadStringOperationException.op |
static String |
JMX.OPEN_TYPE_FIELD
The name of the
openType field. |
static String |
JMX.ORIGINAL_TYPE_FIELD
The name of the
originalType field. |
private String |
MatchQueryExp.pattern |
static String |
MBeanServerNotification.REGISTRATION_NOTIFICATION
Notification type denoting that an MBean has been registered.
|
private String |
Notification.type |
private String |
MBeanParameterInfo.type |
private String |
MBeanOperationInfo.type |
private String[] |
MBeanNotificationInfo.types |
static String |
MBeanServerNotification.UNREGISTRATION_NOTIFICATION
Notification type denoting that an MBean has been unregistered.
|
private String |
StringValueExp.val |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,String> |
ObjectName._propertyList
The propertyList of built object name.
|
private Map<String,String> |
ObjectName._propertyList
The propertyList of built object name.
|
private Vector<String> |
AttributeChangeNotificationFilter.enabledAttributes |
private List<String> |
NotificationFilterSupport.enabledTypes |
| Modifier and Type | Method and Description |
|---|---|
private static String |
MBeanAttributeInfo.attributeType(Method getter,
Method setter)
Finds the type of the attribute.
|
private static String |
Query.escapeString(String s)
Utility method to escape strings used with
Query.{initial|any|final}SubString() methods.
|
private String[] |
MBeanNotificationInfo.fastGetNotifTypes() |
private String |
InQueryExp.generateValueList() |
String |
MBeanPermission.getActions()
Returns the "canonical string representation" of the actions.
|
private static String |
MBeanPermission.getActions(int mask)
Returns the "canonical string representation"
of the actions from the mask.
|
String |
QualifiedAttributeValueExp.getAttrClassName()
Returns a string representation of the class name of the attribute.
|
String |
AttributeValueExp.getAttributeName()
Returns a string representation of the name of the attribute.
|
String |
AttributeChangeNotification.getAttributeName()
Gets the name of the attribute which has changed.
|
String |
AttributeChangeNotification.getAttributeType()
Gets the type of the attribute which has changed.
|
String |
ObjectName.getCanonicalKeyPropertyListString()
Returns a string representation of the list of key properties,
in which the key properties are sorted in lexical order.
|
String |
ObjectName.getCanonicalName()
Returns the canonical form of the name; that is, a string
representation where the properties are sorted in lexical
order.
|
(package private) static String |
MBeanServerPermission.getCanonicalName(int mask) |
String |
ObjectInstance.getClassName()
Returns the class part.
|
String |
MBeanInfo.getClassName()
Returns the name of the Java class of the MBean described by
this
MBeanInfo. |
protected String |
StandardMBean.getClassName(MBeanInfo info)
Customization hook:
Get the className that will be used in the MBeanInfo returned by
this MBean.
|
String |
MBeanServerConnection.getDefaultDomain()
Returns the default domain used for naming the MBean.
|
String |
MBeanServer.getDefaultDomain() |
String |
MBeanInfo.getDescription()
Returns a human readable description of the MBean.
|
String |
MBeanFeatureInfo.getDescription()
Returns the human-readable description of the feature.
|
protected String |
StandardMBean.getDescription(MBeanAttributeInfo info)
Customization hook:
Get the description that will be used in the MBeanAttributeInfo
returned by this MBean.
|
protected String |
StandardMBean.getDescription(MBeanConstructorInfo info)
Customization hook:
Get the description that will be used in the MBeanConstructorInfo
returned by this MBean.
|
protected String |
StandardMBean.getDescription(MBeanConstructorInfo ctor,
MBeanParameterInfo param,
int sequence)
Customization hook:
Get the description that will be used for the sequence
MBeanParameterInfo of the MBeanConstructorInfo returned by this MBean.
|
protected String |
StandardMBean.getDescription(MBeanFeatureInfo info)
Customization hook:
Get the description that will be used in the MBeanFeatureInfo
returned by this MBean.
|
protected String |
StandardMBean.getDescription(MBeanInfo info)
Customization hook:
Get the description that will be used in the MBeanInfo returned by
this MBean.
|
protected String |
StandardMBean.getDescription(MBeanOperationInfo info)
Customization hook:
Get the description that will be used in the MBeanOperationInfo
returned by this MBean.
|
protected String |
StandardMBean.getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Customization hook:
Get the description that will be used for the sequence
MBeanParameterInfo of the MBeanOperationInfo returned by this MBean.
|
String |
ObjectName.getDomain()
Returns the domain part.
|
String[] |
MBeanServerConnection.getDomains()
Returns the list of domains in which any MBean is currently
registered.
|
String[] |
MBeanServer.getDomains() |
String[] |
ImmutableDescriptor.getFieldNames() |
String[] |
Descriptor.getFieldNames()
Returns all the field names in the descriptor.
|
String[] |
ImmutableDescriptor.getFields() |
String[] |
Descriptor.getFields()
Returns all of the fields contained in this descriptor as a string array.
|
String |
MBeanServerDelegateMBean.getImplementationName()
Returns the JMX implementation name (the name of this product).
|
String |
MBeanServerDelegate.getImplementationName()
Returns the JMX implementation name (the name of this product).
|
String |
MBeanServerDelegateMBean.getImplementationVendor()
Returns the JMX implementation vendor (the vendor of this product).
|
String |
MBeanServerDelegate.getImplementationVendor()
Returns the JMX implementation vendor (the vendor of this product).
|
String |
MBeanServerDelegateMBean.getImplementationVersion()
Returns the JMX implementation version (the version of this product).
|
String |
MBeanServerDelegate.getImplementationVersion()
Returns the JMX implementation version (the version of this product).
|
String |
ObjectName.getKeyProperty(String property)
Obtains the value associated with a key in a key property.
|
String |
ObjectName.getKeyPropertyListString()
Returns a string representation of the list of key
properties specified at creation time.
|
(package private) String |
ObjectName.Property.getKeyString(String name)
Returns a key string for receiver key
|
String |
MBeanServerDelegateMBean.getMBeanServerId()
Returns the MBean server agent identity.
|
String |
MBeanServerDelegate.getMBeanServerId()
Returns the MBean server agent identity.
|
String |
Notification.getMessage()
Get the notification message.
|
String |
MBeanFeatureInfo.getName()
Returns the name of the feature.
|
String |
Attribute.getName()
Returns a String containing the name of the attribute.
|
String[] |
MBeanNotificationInfo.getNotifTypes()
Returns the array of strings (in dot notation) containing the
notification types that the MBean may emit.
|
protected String |
StandardMBean.getParameterName(MBeanConstructorInfo ctor,
MBeanParameterInfo param,
int sequence)
Customization hook:
Get the name that will be used for the sequence
MBeanParameterInfo of the MBeanConstructorInfo returned by this MBean.
|
protected String |
StandardMBean.getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Customization hook:
Get the name that will be used for the sequence
MBeanParameterInfo of the MBeanOperationInfo returned by this MBean.
|
String |
MatchQueryExp.getPattern()
Returns the pattern of the query.
|
String |
MBeanOperationInfo.getReturnType()
Returns the type of the method's return value.
|
private String |
ObjectName.getSerializedNameString()
Returns the serialized string of the ObjectName.
|
String |
MBeanServerDelegateMBean.getSpecificationName()
Returns the full name of the JMX specification implemented
by this product.
|
String |
MBeanServerDelegate.getSpecificationName()
Returns the full name of the JMX specification implemented
by this product.
|
String |
MBeanServerDelegateMBean.getSpecificationVendor()
Returns the vendor of the JMX specification implemented
by this product.
|
String |
MBeanServerDelegate.getSpecificationVendor()
Returns the vendor of the JMX specification implemented
by this product.
|
String |
MBeanServerDelegateMBean.getSpecificationVersion()
Returns the version of the JMX specification implemented
by this product.
|
String |
MBeanServerDelegate.getSpecificationVersion()
Returns the version of the JMX specification implemented
by this product.
|
String |
Notification.getType()
Get the notification type.
|
String |
MBeanParameterInfo.getType()
Returns the type or class name of the data.
|
String |
MBeanAttributeInfo.getType()
Returns the class name of the attribute.
|
String |
StringValueExp.getValue()
Returns the string represented by the
StringValueExp instance. |
(package private) String |
ObjectName.Property.getValueString(String name)
Returns a value string for receiver key
|
private static String |
MBeanServerPermission.makeCanonicalName(int mask) |
private static String |
MBeanPermission.makeName(String className,
String member,
ObjectName objectName) |
private static String |
MBeanServerFactory.mBeanServerId(MBeanServer mbs) |
private String |
BinaryOpValueExp.opString() |
private String |
BinaryOpValueExp.parens(ValueExp subexp,
boolean left) |
static String |
ObjectName.quote(String s)
Returns a quoted form of the given String, suitable for
inclusion in an ObjectName.
|
private String |
BinaryRelQueryExp.relOpString() |
String |
StringValueExp.toString()
Returns the string representing the object.
|
String |
QualifiedAttributeValueExp.toString()
Returns the string representing its value
|
String |
OrQueryExp.toString()
Returns a string representation of this OrQueryExp
|
String |
ObjectName.toString()
Returns a string representation of the object name.
|
String |
ObjectInstance.toString()
Returns a string representing this ObjectInstance object.
|
String |
NumericValueExp.toString()
Returns the string representing the object
|
String |
Notification.toString()
Returns a String representation of this notification.
|
String |
NotQueryExp.toString()
Returns the string representing the object.
|
String |
MatchQueryExp.toString()
Returns the string representing the object
|
String |
MBeanServerNotification.toString() |
String |
MBeanParameterInfo.toString() |
String |
MBeanOperationInfo.toString() |
String |
MBeanNotificationInfo.toString() |
String |
MBeanInfo.toString() |
String |
MBeanConstructorInfo.toString() |
String |
MBeanAttributeInfo.toString() |
String |
InstanceOfQueryExp.toString()
Returns a string representation of this InstanceOfQueryExp.
|
String |
InQueryExp.toString()
Returns the string representing the object.
|
String |
ImmutableDescriptor.toString() |
String |
ClassAttributeValueExp.toString()
Returns the string "Class" representing its value
|
String |
BooleanValueExp.toString()
Returns the string representing the object.
|
String |
BinaryRelQueryExp.toString()
Returns the string representing the object.
|
String |
BinaryOpValueExp.toString()
Returns the string representing the object
|
String |
BetweenQueryExp.toString()
Returns the string representing the object.
|
String |
BadStringOperationException.toString()
Returns the string representing the object.
|
String |
BadBinaryOpValueExpException.toString()
Returns the string representing the object.
|
String |
BadAttributeValueExpException.toString()
Returns the string representing the object.
|
String |
AttributeValueExp.toString()
Returns the string representing its value.
|
String |
Attribute.toString()
Returns a String object representing this Attribute's value.
|
String |
AndQueryExp.toString()
Returns a string representation of this AndQueryExp
|
static String |
ObjectName.unquote(String q)
Returns an unquoted form of the given String.
|
| Modifier and Type | Method and Description |
|---|---|
private Map<String,String> |
ObjectName._getKeyPropertyList()
Returns the key properties as a Map.
|
private Map<String,String> |
ObjectName._getKeyPropertyList()
Returns the key properties as a Map.
|
Vector<String> |
AttributeChangeNotificationFilter.getEnabledAttributes()
Gets all the enabled attribute names for this filter.
|
Vector<String> |
NotificationFilterSupport.getEnabledTypes()
Gets all the enabled notification types for this filter.
|
Hashtable<String,String> |
ObjectName.getKeyPropertyList()
Returns the key properties as a Hashtable.
|
Hashtable<String,String> |
ObjectName.getKeyPropertyList()
Returns the key properties as a Hashtable.
|
private static SortedMap<String,?> |
ImmutableDescriptor.makeMap(String[] fields) |
private static SortedMap<String,?> |
ImmutableDescriptor.makeMap(String[] fieldNames,
Object[] fieldValues) |
| Modifier and Type | Method and Description |
|---|---|
private void |
ObjectName.addProperty(ObjectName.Property prop,
int index,
Map<String,ObjectName.Property> keys_map,
String key_name)
Add passed property to the list at the given index
for the passed key name
|
static AttributeValueExp |
Query.attr(String name)
Returns a new attribute expression.
|
static AttributeValueExp |
Query.attr(String className,
String name)
Returns a new qualified attribute expression.
|
private static void |
ImmutableDescriptor.checkIllegalFieldName(String name) |
private static void |
ObjectName.checkKey(String key)
Check if the supplied key is a valid key.
|
private static void |
MBeanServerFactory.checkPermission(String action) |
private static boolean |
ObjectName.checkValue(String val)
Check if the supplied value is a valid value.
|
private void |
ObjectName.construct(String name)
Initializes this
ObjectName from the given string
representation. |
private void |
ObjectName.construct(String domain,
Map<String,String> props)
Construct an ObjectName from a domain and a Hashtable.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
ObjectName loaderName)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
static MBeanServer |
MBeanServerFactory.createMBeanServer(String domain)
Return a new object implementing the
MBeanServer
interface with the specified default domain name. |
private static MBeanAttributeInfo |
StandardMBean.customize(MBeanAttributeInfo ai,
String description) |
private static MBeanConstructorInfo |
StandardMBean.customize(MBeanConstructorInfo ci,
String description,
MBeanParameterInfo[] signature) |
private static MBeanOperationInfo |
StandardMBean.customize(MBeanOperationInfo oi,
String description,
MBeanParameterInfo[] signature,
int impact) |
private static MBeanParameterInfo |
StandardMBean.customize(MBeanParameterInfo pi,
String name,
String description) |
ObjectInputStream |
MBeanServer.deserialize(String className,
byte[] data)
Deprecated.
Use
MBeanServer.getClassLoaderRepository() to obtain the
class loader repository and use it to deserialize. |
ObjectInputStream |
MBeanServer.deserialize(String className,
ObjectName loaderName,
byte[] data)
Deprecated.
Use
getClassLoader to obtain
the class loader for deserialization. |
void |
AttributeChangeNotificationFilter.disableAttribute(String name)
Disables all the attribute change notifications the attribute name of which equals
the specified attribute name to be sent to the listener.
|
void |
NotificationFilterSupport.disableType(String prefix)
Removes the given prefix from the prefix list.
|
void |
AttributeChangeNotificationFilter.enableAttribute(String name)
Enables all the attribute change notifications the attribute name of which equals
the specified name to be sent to the listener.
|
void |
NotificationFilterSupport.enableType(String prefix)
Enables all the notifications the type of which starts with the specified prefix
to be sent to the listener.
|
private static String |
Query.escapeString(String s)
Utility method to escape strings used with
Query.{initial|any|final}SubString() methods.
|
private int |
ImmutableDescriptor.fieldIndex(String name) |
static ArrayList<MBeanServer> |
MBeanServerFactory.findMBeanServer(String agentId)
Return a list of registered MBeanServer objects.
|
Object |
MBeanServerConnection.getAttribute(ObjectName name,
String attribute)
Gets the value of a specific attribute of a named MBean.
|
Object |
MBeanServer.getAttribute(ObjectName name,
String attribute) |
Object |
StandardMBean.getAttribute(String attribute) |
Object |
DynamicMBean.getAttribute(String attribute)
Obtain the value of a specific attribute of the Dynamic MBean.
|
AttributeList |
MBeanServerConnection.getAttributes(ObjectName name,
String[] attributes)
Retrieves the values of several attributes of a named MBean.
|
AttributeList |
MBeanServer.getAttributes(ObjectName name,
String[] attributes) |
AttributeList |
StandardMBean.getAttributes(String[] attributes) |
AttributeList |
DynamicMBean.getAttributes(String[] attributes)
Get the values of several attributes of the Dynamic MBean.
|
Object |
ImmutableDescriptor.getFieldValue(String fieldName) |
Object |
Descriptor.getFieldValue(String fieldName)
Returns the value for a specific field name, or null if no value
is present for that name.
|
Object[] |
ImmutableDescriptor.getFieldValues(String... fieldNames) |
Object[] |
Descriptor.getFieldValues(String... fieldNames)
Returns all the field values in the descriptor as an array of Objects.
|
static ObjectName |
ObjectName.getInstance(String name)
Return an instance of ObjectName that can be used anywhere
an object obtained with
new
ObjectName(name) can be used. |
static ObjectName |
ObjectName.getInstance(String domain,
Hashtable<String,String> table)
Return an instance of ObjectName that can be used anywhere
an object obtained with
new ObjectName(domain, table) can be used. |
static ObjectName |
ObjectName.getInstance(String domain,
String key,
String value)
Return an instance of ObjectName that can be used anywhere
an object obtained with
new ObjectName(domain, key, value) can be used. |
String |
ObjectName.getKeyProperty(String property)
Obtains the value associated with a key in a key property.
|
(package private) String |
ObjectName.Property.getKeyString(String name)
Returns a key string for receiver key
|
private static int |
MBeanPermission.getMask(String action)
Converts an action String to an integer action mask.
|
(package private) String |
ObjectName.Property.getValueString(String name)
Returns a value string for receiver key
|
private static void |
ImmutableDescriptor.illegal(String message) |
private void |
MBeanPermission.initName(String className,
String member,
ObjectName objectName)
Assign fields based on className, member, and objectName
parameters.
|
Object |
MBeanServer.instantiate(String className)
Instantiates an object using the list of all class loaders
registered in the MBean server's
Class Loader
Repository. |
Object |
MBeanServer.instantiate(String className,
Object[] params,
String[] signature)
Instantiates an object using the list of all class loaders
registered in the MBean server
Class Loader
Repository. |
Object |
MBeanServer.instantiate(String className,
Object[] params,
String[] signature)
Instantiates an object using the list of all class loaders
registered in the MBean server
Class Loader
Repository. |
Object |
MBeanServer.instantiate(String className,
ObjectName loaderName)
Instantiates an object using the class Loader specified by its
ObjectName. |
Object |
MBeanServer.instantiate(String className,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates an object.
|
Object |
MBeanServer.instantiate(String className,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates an object.
|
Object |
MBeanServerConnection.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature)
Invokes an operation on an MBean.
|
Object |
MBeanServerConnection.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature)
Invokes an operation on an MBean.
|
Object |
MBeanServer.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature) |
Object |
MBeanServer.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature) |
Object |
StandardMBean.invoke(String actionName,
Object[] params,
String[] signature) |
Object |
StandardMBean.invoke(String actionName,
Object[] params,
String[] signature) |
Object |
DynamicMBean.invoke(String actionName,
Object[] params,
String[] signature)
Allows an action to be invoked on the Dynamic MBean.
|
Object |
DynamicMBean.invoke(String actionName,
Object[] params,
String[] signature)
Allows an action to be invoked on the Dynamic MBean.
|
private boolean |
ObjectName.isDomain(String domain)
Check if domain is a valid domain.
|
private static boolean |
MBeanInfo.isEqual(String s1,
String s2) |
boolean |
MBeanServerConnection.isInstanceOf(ObjectName name,
String className)
Returns true if the MBean specified is an instance of the
specified class, false otherwise.
|
boolean |
MBeanServer.isInstanceOf(ObjectName name,
String className) |
boolean |
ObjectName.isPropertyValuePattern(String property)
Checks whether the value associated with a key in a key
property is a pattern.
|
private static Class<?> |
MBeanServerFactory.loadBuilderClass(String builderClassName)
Load the builder class through the context class loader.
|
static Class<?> |
DefaultLoaderRepository.loadClass(String className)
Deprecated.
Go through the list of class loaders and try to load the requested class.
|
static Class<?> |
DefaultLoaderRepository.loadClassWithout(ClassLoader loader,
String className)
Deprecated.
Go through the list of class loaders but exclude the given class loader, then try to load
the requested class.
|
private static SortedMap<String,?> |
ImmutableDescriptor.makeMap(String[] fields) |
private static SortedMap<String,?> |
ImmutableDescriptor.makeMap(String[] fieldNames,
Object[] fieldValues) |
private static String |
MBeanPermission.makeName(String className,
String member,
ObjectName objectName) |
private static int |
MBeanServerPermission.nameIndex(String name) |
static MBeanServer |
MBeanServerFactory.newMBeanServer(String domain)
Return a new object implementing the MBeanServer interface
with the specified default domain name, without keeping an
internal reference to this new object.
|
MBeanServer |
MBeanServerBuilder.newMBeanServer(String defaultDomain,
MBeanServer outer,
MBeanServerDelegate delegate)
This method creates a new MBeanServer implementation object.
|
(package private) static boolean |
StandardMBean.overrides(Class<?> subclass,
Class<?> superclass,
String name,
Class<?>... params) |
private static int |
MBeanServerPermission.parseMask(String name) |
static String |
ObjectName.quote(String s)
Returns a quoted form of the given String, suitable for
inclusion in an ObjectName.
|
void |
ImmutableDescriptor.removeField(String fieldName)
Removes a field from the descriptor.
|
void |
Descriptor.removeField(String fieldName)
Removes a field from the descriptor.
|
private void |
ObjectName.setCanonicalName(char[] specified_chars,
char[] canonical_chars,
String[] keys,
Map<String,ObjectName.Property> keys_map,
int prop_index,
int nb_props)
Sets the canonical name of receiver from input 'specified_chars'
array, by filling 'canonical_chars' array with found 'nb-props'
properties starting at position 'prop_index'.
|
private void |
MBeanPermission.setClassName(String className) |
void |
ImmutableDescriptor.setField(String fieldName,
Object fieldValue)
This operation is unsupported since this class is immutable.
|
void |
Descriptor.setField(String fieldName,
Object fieldValue)
Sets the value for a specific field name.
|
void |
ImmutableDescriptor.setFields(String[] fieldNames,
Object[] fieldValues)
This operation is unsupported since this class is immutable.
|
void |
Descriptor.setFields(String[] fieldNames,
Object[] fieldValues)
Sets all fields in the field names array to the new value with
the same index in the field values array.
|
private void |
MBeanPermission.setMember(String member) |
static String |
ObjectName.unquote(String q)
Returns an unquoted form of the given String.
|
private static void |
MBeanTrustPermission.validate(String name,
String actions) |
static StringValueExp |
Query.value(String val)
Returns a new string expression.
|
private static boolean |
MatchQueryExp.wildmatch(String s,
String p) |
| Modifier and Type | Method and Description |
|---|---|
private void |
ObjectName.addProperty(ObjectName.Property prop,
int index,
Map<String,ObjectName.Property> keys_map,
String key_name)
Add passed property to the list at the given index
for the passed key name
|
private void |
ObjectName.construct(String domain,
Map<String,String> props)
Construct an ObjectName from a domain and a Hashtable.
|
private void |
ObjectName.construct(String domain,
Map<String,String> props)
Construct an ObjectName from a domain and a Hashtable.
|
static ObjectName |
ObjectName.getInstance(String domain,
Hashtable<String,String> table)
Return an instance of ObjectName that can be used anywhere
an object obtained with
new ObjectName(domain, table) can be used. |
static ObjectName |
ObjectName.getInstance(String domain,
Hashtable<String,String> table)
Return an instance of ObjectName that can be used anywhere
an object obtained with
new ObjectName(domain, table) can be used. |
private void |
ObjectName.setCanonicalName(char[] specified_chars,
char[] canonical_chars,
String[] keys,
Map<String,ObjectName.Property> keys_map,
int prop_index,
int nb_props)
Sets the canonical name of receiver from input 'specified_chars'
array, by filling 'canonical_chars' array with found 'nb-props'
properties starting at position 'prop_index'.
|
| Constructor and Description |
|---|
Attribute(String name,
Object value)
Constructs an Attribute object which associates the given attribute name with the given value.
|
AttributeChangeNotification(Object source,
long sequenceNumber,
long timeStamp,
String msg,
String attributeName,
String attributeType,
Object oldValue,
Object newValue)
Constructs an attribute change notification object.
|
AttributeNotFoundException(String message)
Constructor that allows a specific error message to be specified.
|
AttributeValueExp(String attr)
Creates a new
AttributeValueExp representing the
specified object attribute, named attr. |
BadStringOperationException(String message)
Constructs a
BadStringOperationException with the specified detail
message. |
ImmutableDescriptor(String... fields)
Construct a descriptor containing the given fields.
|
ImmutableDescriptor(String[] fieldNames,
Object[] fieldValues)
Construct a descriptor containing the given fields and values.
|
InstanceAlreadyExistsException(String message)
Constructor that allows a specific error message to be specified.
|
InstanceNotFoundException(String message)
Constructor that allows a specific error message to be specified.
|
IntrospectionException(String message)
Constructor that allows a specific error message to be specified.
|
InvalidAttributeValueException(String message)
Constructor that allows a specific error message to be specified.
|
JMException(String msg)
Constructor that allows a specific error message to be specified.
|
JMRuntimeException(String message)
Constructor that allows a specific error message to be specified.
|
JMRuntimeException(String message,
Throwable cause)
Constructor with a nested exception.
|
ListenerNotFoundException(String message)
Constructor that allows a specific error message to be specified.
|
MalformedObjectNameException(String message)
Constructor that allows a specific error message to be specified.
|
MBeanAttributeInfo(String name,
String description,
Method getter,
Method setter)
This constructor takes the name of a simple attribute, and Method
objects for reading and writing the attribute.
|
MBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs)
Constructs an
MBeanAttributeInfo object. |
MBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
Constructs an
MBeanAttributeInfo object. |
MBeanConstructorInfo(String description,
Constructor<?> constructor)
Constructs an
MBeanConstructorInfo object. |
MBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature)
Constructs an
MBeanConstructorInfo object. |
MBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature,
Descriptor descriptor)
Constructs an
MBeanConstructorInfo object. |
MBeanException(Exception e,
String message)
Creates an
MBeanException that wraps the actual java.lang.Exception with
a detail message. |
MBeanFeatureInfo(String name,
String description)
Constructs an
MBeanFeatureInfo object. |
MBeanFeatureInfo(String name,
String description,
Descriptor descriptor)
Constructs an
MBeanFeatureInfo object. |
MBeanInfo(String className,
String description,
MBeanAttributeInfo[] attributes,
MBeanConstructorInfo[] constructors,
MBeanOperationInfo[] operations,
MBeanNotificationInfo[] notifications)
Constructs an
MBeanInfo. |
MBeanInfo(String className,
String description,
MBeanAttributeInfo[] attributes,
MBeanConstructorInfo[] constructors,
MBeanOperationInfo[] operations,
MBeanNotificationInfo[] notifications,
Descriptor descriptor)
Constructs an
MBeanInfo. |
MBeanNotificationInfo(String[] notifTypes,
String name,
String description)
Constructs an
MBeanNotificationInfo object. |
MBeanNotificationInfo(String[] notifTypes,
String name,
String description)
Constructs an
MBeanNotificationInfo object. |
MBeanNotificationInfo(String[] notifTypes,
String name,
String description,
Descriptor descriptor)
Constructs an
MBeanNotificationInfo object. |
MBeanNotificationInfo(String[] notifTypes,
String name,
String description,
Descriptor descriptor)
Constructs an
MBeanNotificationInfo object. |
MBeanOperationInfo(String description,
Method method)
Constructs an
MBeanOperationInfo object. |
MBeanOperationInfo(String name,
String description,
MBeanParameterInfo[] signature,
String type,
int impact)
Constructs an
MBeanOperationInfo object. |
MBeanOperationInfo(String name,
String description,
MBeanParameterInfo[] signature,
String type,
int impact,
Descriptor descriptor)
Constructs an
MBeanOperationInfo object. |
MBeanParameterInfo(String name,
String type,
String description)
Constructs an
MBeanParameterInfo object. |
MBeanParameterInfo(String name,
String type,
String description,
Descriptor descriptor)
Constructs an
MBeanParameterInfo object. |
MBeanPermission(String name,
String actions)
Create a new MBeanPermission object with the specified target name
and actions.
|
MBeanPermission(String className,
String member,
ObjectName objectName,
String actions)
Create a new MBeanPermission object with the specified target name
(class name, member, object name) and actions.
|
MBeanRegistrationException(Exception e,
String message)
Creates an
MBeanRegistrationException that wraps
the actual java.lang.Exception with a detailed
message. |
MBeanServerNotification(String type,
Object source,
long sequenceNumber,
ObjectName objectName)
Creates an MBeanServerNotification object specifying object names of
the MBeans that caused the notification and the specified notification
type.
|
MBeanServerPermission(String name)
Create a new MBeanServerPermission with the given name.
|
MBeanServerPermission(String name,
String actions)
Create a new MBeanServerPermission with the given name.
|
MBeanTrustPermission(String name)
Create a new MBeanTrustPermission with the given name.
|
MBeanTrustPermission(String name,
String actions)
Create a new MBeanTrustPermission with the given name.
|
NotCompliantMBeanException(String message)
Constructor that allows a specific error message to be specified.
|
Notification(String type,
Object source,
long sequenceNumber)
Creates a Notification object.
|
Notification(String type,
Object source,
long sequenceNumber,
long timeStamp)
Creates a Notification object.
|
Notification(String type,
Object source,
long sequenceNumber,
long timeStamp,
String message)
Creates a Notification object.
|
Notification(String type,
Object source,
long sequenceNumber,
String message)
Creates a Notification object.
|
ObjectInstance(ObjectName objectName,
String className)
Allows an object instance to be created given an object name and
the full class name, including the package name.
|
ObjectInstance(String objectName,
String className)
Allows an object instance to be created given a string representation of
an object name and the full class name, including the package name.
|
ObjectName(String name)
Construct an object name from the given string.
|
ObjectName(String domain,
Hashtable<String,String> table)
Construct an object name with several key properties from a Hashtable.
|
ObjectName(String domain,
String key,
String value)
Construct an object name with exactly one key property.
|
OperationsException(String message)
Constructor that allows a specific error message to be specified.
|
QualifiedAttributeValueExp(String className,
String attr)
Creates a new QualifiedAttributeValueExp representing the specified object
attribute, named attr with class name className.
|
ReflectionException(Exception e,
String message)
Creates a
ReflectionException that wraps the actual java.lang.Exception with
a detail message. |
RuntimeErrorException(Error e,
String message)
Constructor that allows a specific error message to be specified.
|
RuntimeMBeanException(RuntimeException e,
String message)
Creates a
RuntimeMBeanException that wraps the actual java.lang.RuntimeException with
a detailed message. |
RuntimeOperationsException(RuntimeException e,
String message)
Creates a
RuntimeOperationsException that wraps the actual java.lang.RuntimeException
with a detailed message. |
ServiceNotFoundException(String message)
Constructor that allows a specific error message to be specified.
|
StringValueExp(String val)
Creates a new
StringValueExp representing the
given string. |
| Constructor and Description |
|---|
ImmutableDescriptor(Map<String,?> fields)
Construct a descriptor where the names and values of the fields
are the keys and values of the given Map.
|
ObjectName(String domain,
Hashtable<String,String> table)
Construct an object name with several key properties from a Hashtable.
|
ObjectName(String domain,
Hashtable<String,String> table)
Construct an object name with several key properties from a Hashtable.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
MLet.libraryDirectory
The directory used for storing libraries locally before they are loaded.
|
private static String |
MLetParser.tag
Tag to parse.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,String> |
MLetContent.attributes
A map of the attributes of the
MLET tag
and their values. |
private Map<String,String> |
MLetContent.attributes
A map of the attributes of the
MLET tag
and their values. |
private Map<String,Class<?>> |
MLet.primitiveClasses
objects maps from primitive classes to primitive object classes.
|
private List<String> |
MLetContent.types
An ordered list of the TYPE attributes that appeared in nested
<PARAM> tags.
|
private List<String> |
MLetContent.values
An ordered list of the VALUE attributes that appeared in nested
<PARAM> tags.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
MLet.findLibrary(String libname)
Returns the absolute path name of a native library.
|
String |
MLetContent.getCode()
Gets the value of the
CODE
attribute of the MLET tag. |
String |
MLetContent.getJarFiles()
Gets the list of
.jar files specified by the ARCHIVE
attribute of the MLET tag. |
String |
MLetMBean.getLibraryDirectory()
Gets the current directory used by the library loader for
storing native libraries before they are loaded into memory.
|
String |
MLet.getLibraryDirectory()
Gets the current directory used by the library loader for
storing native libraries before they are loaded into memory.
|
String |
MLetContent.getName()
Gets the value of the
NAME
attribute of the MLET tag. |
private String |
MLetContent.getParameter(String name)
Gets the value of the specified
attribute of the
MLET tag. |
String |
MLetContent.getSerializedObject()
Gets the value of the
OBJECT
attribute of the MLET tag. |
private String |
MLet.getTmpDir() |
String |
MLetContent.getVersion()
Gets the value of the
VERSION
attribute of the MLET tag. |
private String |
MLet.loadLibraryAsResource(String libname)
Search the specified native library in any of the JAR files
loaded by this classloader.
|
private static String |
MLet.removeSpace(String s)
Removes any white space from a string.
|
String |
MLetParser.scanIdentifier(Reader in)
Scan identifier
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
MLetContent.getAttributes()
Gets the attributes of the
MLET tag. |
Map<String,String> |
MLetContent.getAttributes()
Gets the attributes of the
MLET tag. |
List<String> |
MLetContent.getParameterTypes()
Gets the list of values of the
TYPE attribute in
each nested <PARAM> tag within the MLET
tag. |
List<String> |
MLetContent.getParameterValues()
Gets the list of values of the
VALUE attribute in
each nested <PARAM> tag within the MLET
tag. |
Map<String,String> |
MLetParser.scanTag(Reader in)
Scan tag
|
Map<String,String> |
MLetParser.scanTag(Reader in)
Scan tag
|
| Modifier and Type | Method and Description |
|---|---|
void |
MLetMBean.addURL(String url)
Appends the specified URL to the list of URLs to search for classes and
resources.
|
void |
MLet.addURL(String url)
Appends the specified URL to the list of URLs to search for classes and
resources.
|
protected URL |
MLet.check(String version,
URL codebase,
String jarfile,
MLetContent mlet)
This method is to be overridden when extending this service to
support caching and versioning.
|
private Object |
MLet.constructParameter(String param,
String type)
Converts the String value of the constructor's parameter to
a basic Java object with the type of the parameter.
|
protected Class<?> |
MLet.findClass(String name)
This is the main method for class loaders that is being redefined.
|
(package private) Class<?> |
MLet.findClass(String name,
ClassLoaderRepository clr)
Called by
MLet.findClass(java.lang.String). |
protected String |
MLet.findLibrary(String libname)
Returns the absolute path name of a native library.
|
Set<Object> |
MLetMBean.getMBeansFromURL(String url)
Loads a text file containing MLET tags that define the MBeans
to be added to the MBean server.
|
Set<Object> |
MLet.getMBeansFromURL(String url)
Loads a text file containing MLET tags that define the MBeans to
be added to the MBean server.
|
private String |
MLetContent.getParameter(String name)
Gets the value of the specified
attribute of the
MLET tag. |
URL |
MLetMBean.getResource(String name)
Finds the resource with the given name.
|
InputStream |
MLetMBean.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
Enumeration<URL> |
MLetMBean.getResources(String name)
Finds all the resources with the given name.
|
private static Class<?> |
DefaultLoaderRepository.load(ClassLoader without,
String className)
Deprecated.
|
static Class<?> |
DefaultLoaderRepository.loadClass(String className)
Deprecated.
Go through the list of class loaders and try to load the requested
class.
|
Class<?> |
ClassLoaderRepository.loadClass(String className)
Load the given class name through the list of class loaders.
|
Class<?> |
MLet.loadClass(String name,
ClassLoaderRepository clr)
Load a class, using the given
ClassLoaderRepository if
the class is not found in this MLet's URLs. |
Class<?> |
ClassLoaderRepository.loadClassBefore(ClassLoader stop,
String className)
Load the given class name through the list of class loaders,
stopping at the given one.
|
static Class<?> |
DefaultLoaderRepository.loadClassWithout(ClassLoader loader,
String className)
Deprecated.
Go through the list of class loaders but exclude the given
class loader, then try to load
the requested class.
|
Class<?> |
ClassLoaderRepository.loadClassWithout(ClassLoader exclude,
String className)
Load the given class name through the list of class loaders,
excluding the given one.
|
private String |
MLet.loadLibraryAsResource(String libname)
Search the specified native library in any of the JAR files
loaded by this classloader.
|
private Object |
MLet.loadSerializedObject(URL codebase,
String filename)
Loads the serialized object specified by the
OBJECT
attribute of the MLET tag. |
List<MLetContent> |
MLetParser.parseURL(String urlname)
Parse the document pointed by the URL urlname
|
private static String |
MLet.removeSpace(String s)
Removes any white space from a string.
|
void |
MLetMBean.setLibraryDirectory(String libdir)
Sets the directory used by the library loader for storing
native libraries before they are loaded into memory.
|
void |
MLet.setLibraryDirectory(String libdir)
Sets the directory used by the library loader for storing
native libraries before they are loaded into memory.
|
| Constructor and Description |
|---|
MLetContent(URL url,
Map<String,String> attributes,
List<String> types,
List<String> values)
Creates an
MLet instance initialized with attributes read
from an MLET tag in an MLet text file. |
MLetContent(URL url,
Map<String,String> attributes,
List<String> types,
List<String> values)
Creates an
MLet instance initialized with attributes read
from an MLET tag in an MLet text file. |
MLetContent(URL url,
Map<String,String> attributes,
List<String> types,
List<String> values)
Creates an
MLet instance initialized with attributes read
from an MLET tag in an MLet text file. |
MLetContent(URL url,
Map<String,String> attributes,
List<String> types,
List<String> values)
Creates an
MLet instance initialized with attributes read
from an MLET tag in an MLet text file. |
| Modifier and Type | Field and Description |
|---|---|
private static String |
ModelMBeanInfoSupport.ALL |
private static String |
ModelMBeanInfoSupport.ATTR |
private static String[] |
DescriptorSupport.charToEntityMap |
private static String |
ModelMBeanInfoSupport.CONS |
private static String |
ModelMBeanOperationInfo.currClass |
private static String |
ModelMBeanNotificationInfo.currClass |
private static String |
ModelMBeanInfoSupport.currClass |
private static String |
ModelMBeanConstructorInfo.currClass |
private static String |
ModelMBeanAttributeInfo.currClass |
private static String |
DescriptorSupport.currClass |
private static String[] |
DescriptorSupport.entities |
private static String |
ModelMBeanInfoSupport.MMB |
private static String |
ModelMBeanInfoSupport.NOTF |
private static String |
ModelMBeanInfoSupport.OPER |
private static String[] |
RequiredModelMBean.primitiveTypes |
private static String[] |
RequiredModelMBean.primitiveWrappers |
private static String |
DescriptorSupport.serialForm |
| Modifier and Type | Field and Description |
|---|---|
private SortedMap<String,Object> |
DescriptorSupport.descriptorMap |
private static Map<String,Character> |
DescriptorSupport.entityToCharMap |
private static Map<String,Class<?>> |
RequiredModelMBean.primitiveClassMap |
private static Set<String> |
RequiredModelMBean.rmmbMethodNames |
| Modifier and Type | Method and Description |
|---|---|
String |
ModelMBeanInfo.getClassName()
Returns the name of the Java class of the MBean described by
this
MBeanInfo. |
String |
ModelMBeanInfo.getDescription()
Returns a human readable description of the MBean.
|
String[] |
DescriptorSupport.getFieldNames() |
String[] |
DescriptorSupport.getFields() |
private static String |
DescriptorSupport.makeFieldValue(Object value)
Make the string that will go inside "..." for a value that is not
a plain String.
|
private String |
RequiredModelMBean.printModelMBeanInfo(ModelMBeanInfo info) |
private static String |
DescriptorSupport.quote(String s) |
String |
ModelMBeanOperationInfo.toString()
Returns a string containing the entire contents of the
ModelMBeanOperationInfo in human readable form.
|
String |
ModelMBeanNotificationInfo.toString()
Returns a human readable string containing
ModelMBeanNotificationInfo.
|
String |
ModelMBeanConstructorInfo.toString()
Returns a string containing the entire contents of the ModelMBeanConstructorInfo in human readable form.
|
String |
ModelMBeanAttributeInfo.toString()
Returns a human-readable version of the
ModelMBeanAttributeInfo instance.
|
String |
DescriptorSupport.toString()
Returns
|
String |
DescriptorSupport.toXMLString()
Returns an XML String representing the descriptor.
|
private static String |
DescriptorSupport.unquote(String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
RequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener,
String inAttributeName,
Object inhandback) |
void |
ModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener,
String attributeName,
Object handback)
Registers an object which implements the NotificationListener interface as a listener.
|
private Method |
RequiredModelMBean.findRMMBMethod(String opMethodName,
Object targetObjectField,
String opClassName,
String[] sig) |
private Method |
RequiredModelMBean.findRMMBMethod(String opMethodName,
Object targetObjectField,
String opClassName,
String[] sig) |
Object |
RequiredModelMBean.getAttribute(String attrName)
Returns the value of a specific attribute defined for this
ModelMBean.
|
ModelMBeanAttributeInfo |
ModelMBeanInfoSupport.getAttribute(String inName) |
ModelMBeanAttributeInfo |
ModelMBeanInfo.getAttribute(String inName)
Returns a ModelMBeanAttributeInfo requested by name.
|
AttributeList |
RequiredModelMBean.getAttributes(String[] attrNames)
Returns the values of several attributes in the ModelMBean.
|
ModelMBeanConstructorInfo |
ModelMBeanInfoSupport.getConstructor(String inName)
Returns the ModelMBeanConstructorInfo requested by name.
|
Descriptor |
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName)
Returns a Descriptor requested by name.
|
Descriptor |
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName,
String inDescriptorType) |
Descriptor |
ModelMBeanInfo.getDescriptor(String inDescriptorName,
String inDescriptorType)
Returns a Descriptor requested by name and descriptorType.
|
Descriptor[] |
ModelMBeanInfoSupport.getDescriptors(String inDescriptorType) |
Descriptor[] |
ModelMBeanInfo.getDescriptors(String inDescriptorType)
Returns a Descriptor array consisting of all
Descriptors for the ModelMBeanInfo of type inDescriptorType.
|
Object |
DescriptorSupport.getFieldValue(String fieldName) |
Object[] |
DescriptorSupport.getFieldValues(String... fieldNames) |
ModelMBeanNotificationInfo |
ModelMBeanInfoSupport.getNotification(String inName) |
ModelMBeanNotificationInfo |
ModelMBeanInfo.getNotification(String inName)
Returns a ModelMBeanNotificationInfo requested by name.
|
ModelMBeanOperationInfo |
ModelMBeanInfoSupport.getOperation(String inName) |
ModelMBeanOperationInfo |
ModelMBeanInfo.getOperation(String inName)
Returns a ModelMBeanOperationInfo requested by name.
|
private static boolean |
RequiredModelMBean.hasNotification(ModelMBeanInfo info,
String notifName)
Returns `true' if the notification `notifName' is found
in `info'.
|
Object |
RequiredModelMBean.invoke(String opName,
Object[] opArgs,
String[] sig)
Invokes a method on or through a RequiredModelMBean and returns
the result of the method execution.
|
Object |
RequiredModelMBean.invoke(String opName,
Object[] opArgs,
String[] sig)
Invokes a method on or through a RequiredModelMBean and returns
the result of the method execution.
|
private Object |
RequiredModelMBean.invokeMethod(String opName,
Method method,
Object targetObject,
Object[] opArgs) |
private static boolean |
RequiredModelMBean.isRMMBMethodName(String name) |
private Class<?> |
RequiredModelMBean.loadClass(String className) |
private static Object |
DescriptorSupport.parseQuotedFieldValue(String s) |
private static String |
DescriptorSupport.quote(String s) |
void |
RequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener,
String inAttributeName) |
void |
ModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener,
String attributeName)
Removes a listener for attributeChangeNotifications from the RequiredModelMBean.
|
void |
DescriptorSupport.removeField(String fieldName) |
private Method |
RequiredModelMBean.resolveMethod(Class<?> targetClass,
String opMethodName,
String[] sig) |
private Method |
RequiredModelMBean.resolveMethod(Class<?> targetClass,
String opMethodName,
String[] sig) |
void |
RequiredModelMBean.sendNotification(String ntfyText) |
void |
ModelMBeanNotificationBroadcaster.sendNotification(String ntfyText)
Sends a Notification which contains the text string that is passed in
to the registered Notification listeners on the ModelMBean.
|
void |
ModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor,
String inDescriptorType) |
void |
ModelMBeanInfo.setDescriptor(Descriptor inDescriptor,
String inDescriptorType)
Sets descriptors in the info array of type inDescriptorType
for the ModelMBean.
|
void |
DescriptorSupport.setField(String fieldName,
Object fieldValue) |
void |
DescriptorSupport.setFields(String[] fieldNames,
Object[] fieldValues) |
void |
RequiredModelMBean.setManagedResource(Object mr,
String mr_type)
Sets the instance handle of the object against which to
execute all methods in this ModelMBean management interface
(MBeanInfo and Descriptors).
|
void |
ModelMBean.setManagedResource(Object mr,
String mr_type)
Sets the instance handle of the object against which to
execute all methods in this ModelMBean management interface
(MBeanInfo and Descriptors).
|
private long |
DescriptorSupport.toNumeric(String inStr) |
private static String |
DescriptorSupport.unquote(String s) |
private boolean |
DescriptorSupport.validateField(String fldName,
Object fldValue) |
private void |
RequiredModelMBean.writeToLog(String logFileName,
String logEntry) |
| Modifier and Type | Method and Description |
|---|---|
private void |
DescriptorSupport.init(Map<String,?> initMap) |
| Constructor and Description |
|---|
DescriptorSupport(String... fields)
Constructor taking fields in the fieldName=fieldValue
format.
|
DescriptorSupport(String inStr)
Descriptor constructor taking an XML String.
|
DescriptorSupport(String[] fieldNames,
Object[] fieldValues)
Constructor taking field names and field values.
|
InvalidTargetObjectTypeException(Exception e,
String s)
Constructor taking an exception and a string.
|
InvalidTargetObjectTypeException(String s)
Constructor from a string.
|
ModelMBeanAttributeInfo(String name,
String description,
Method getter,
Method setter)
Constructs a ModelMBeanAttributeInfo object with a default
descriptor.
|
ModelMBeanAttributeInfo(String name,
String description,
Method getter,
Method setter,
Descriptor descriptor)
Constructs a ModelMBeanAttributeInfo object.
|
ModelMBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs)
Constructs a ModelMBeanAttributeInfo object with a default descriptor.
|
ModelMBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
Constructs a ModelMBeanAttributeInfo object.
|
ModelMBeanConstructorInfo(String description,
Constructor<?> constructorMethod)
Constructs a ModelMBeanConstructorInfo object with a default
descriptor.
|
ModelMBeanConstructorInfo(String description,
Constructor<?> constructorMethod,
Descriptor descriptor)
Constructs a ModelMBeanConstructorInfo object.
|
ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature)
Constructs a ModelMBeanConstructorInfo object with a default descriptor.
|
ModelMBeanConstructorInfo(String name,
String description,
MBeanParameterInfo[] signature,
Descriptor descriptor)
Constructs a ModelMBeanConstructorInfo object.
|
ModelMBeanInfoSupport(String className,
String description,
ModelMBeanAttributeInfo[] attributes,
ModelMBeanConstructorInfo[] constructors,
ModelMBeanOperationInfo[] operations,
ModelMBeanNotificationInfo[] notifications)
Creates a ModelMBeanInfoSupport with the provided information,
but the descriptor is a default.
|
ModelMBeanInfoSupport(String className,
String description,
ModelMBeanAttributeInfo[] attributes,
ModelMBeanConstructorInfo[] constructors,
ModelMBeanOperationInfo[] operations,
ModelMBeanNotificationInfo[] notifications,
Descriptor mbeandescriptor)
Creates a ModelMBeanInfoSupport with the provided information
and the descriptor given in parameter.
|
ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description)
Constructs a ModelMBeanNotificationInfo object with a default
descriptor.
|
ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description)
Constructs a ModelMBeanNotificationInfo object with a default
descriptor.
|
ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description,
Descriptor descriptor)
Constructs a ModelMBeanNotificationInfo object.
|
ModelMBeanNotificationInfo(String[] notifTypes,
String name,
String description,
Descriptor descriptor)
Constructs a ModelMBeanNotificationInfo object.
|
ModelMBeanOperationInfo(String description,
Method operationMethod)
Constructs a ModelMBeanOperationInfo object with a default
descriptor.
|
ModelMBeanOperationInfo(String description,
Method operationMethod,
Descriptor descriptor)
Constructs a ModelMBeanOperationInfo object.
|
ModelMBeanOperationInfo(String name,
String description,
MBeanParameterInfo[] signature,
String type,
int impact)
Constructs a ModelMBeanOperationInfo object with a default descriptor.
|
ModelMBeanOperationInfo(String name,
String description,
MBeanParameterInfo[] signature,
String type,
int impact,
Descriptor descriptor)
Constructs a ModelMBeanOperationInfo object.
|
XMLParseException(Exception e,
String s)
Constructor taking a string and an exception.
|
XMLParseException(String s)
Constructor taking a string.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
Monitor.dbgTag
Deprecated.
No replacement.
|
private String |
Monitor.firstAttribute
First attribute name extracted from complex type attribute name.
|
(package private) String |
Monitor.DaemonThreadFactory.namePrefix |
(package private) static String |
Monitor.DaemonThreadFactory.nameSuffix |
static String |
MonitorNotification.OBSERVED_ATTRIBUTE_ERROR
Notification type denoting that the observed attribute is not contained in the observed object.
|
static String |
MonitorNotification.OBSERVED_ATTRIBUTE_TYPE_ERROR
Notification type denoting that the type of the observed attribute is not correct.
|
static String |
MonitorNotification.OBSERVED_OBJECT_ERROR
Notification type denoting that the observed object is not registered in the MBean server.
|
private String |
MonitorNotification.observedAttribute |
private String |
Monitor.observedAttribute
Attribute to observe.
|
static String |
MonitorNotification.RUNTIME_ERROR
Notification type denoting that a non-predefined error type has occurred when trying to get the value of the observed attribute.
|
static String |
MonitorNotification.STRING_TO_COMPARE_VALUE_DIFFERED
Notification type denoting that the observed attribute has differed from the "string to compare" value.
|
static String |
MonitorNotification.STRING_TO_COMPARE_VALUE_MATCHED
Notification type denoting that the observed attribute has matched the "string to compare" value.
|
private String |
StringMonitor.stringToCompare
String to compare with the observed attribute.
|
static String |
MonitorNotification.THRESHOLD_ERROR
Notification type denoting that the type of the thresholds, offset or modulus is not correct.
|
static String |
MonitorNotification.THRESHOLD_HIGH_VALUE_EXCEEDED
Notification type denoting that the observed attribute has exceeded the threshold high value.
|
static String |
MonitorNotification.THRESHOLD_LOW_VALUE_EXCEEDED
Notification type denoting that the observed attribute has exceeded the threshold low value.
|
static String |
MonitorNotification.THRESHOLD_VALUE_EXCEEDED
Notification type denoting that the observed attribute has reached the threshold value.
|
private static String[] |
StringMonitor.types |
private static String[] |
GaugeMonitor.types |
private static String[] |
CounterMonitor.types |
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
Monitor.remainingAttributes
Remaining attribute names extracted from complex type attribute name.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
Monitor.buildErrorNotification(ObjectName object,
String attribute,
Comparable<?> value) |
String |
StringMonitorMBean.getDerivedGauge()
Deprecated.
As of JMX 1.2, replaced by
StringMonitorMBean.getDerivedGauge(ObjectName) |
String |
StringMonitor.getDerivedGauge()
Deprecated.
As of JMX 1.2, replaced by
StringMonitor.getDerivedGauge(ObjectName) |
String |
StringMonitorMBean.getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.
|
String |
StringMonitor.getDerivedGauge(ObjectName object)
Gets the derived gauge of the specified object, if this object is
contained in the set of observed MBeans, or
null otherwise. |
String |
MonitorNotification.getObservedAttribute()
Gets the observed attribute of this monitor notification.
|
String |
MonitorMBean.getObservedAttribute()
Gets the attribute being observed.
|
String |
Monitor.getObservedAttribute()
Gets the attribute being observed.
|
String |
StringMonitorMBean.getStringToCompare()
Gets the string to compare with the observed attribute.
|
String |
StringMonitor.getStringToCompare()
Gets the string to compare with the observed attribute common
to all observed MBeans.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) MonitorNotification |
StringMonitor.buildAlarmNotification(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) MonitorNotification |
Monitor.buildAlarmNotification(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) MonitorNotification |
GaugeMonitor.buildAlarmNotification(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) MonitorNotification |
CounterMonitor.buildAlarmNotification(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) String |
Monitor.buildErrorNotification(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) Object |
Monitor.getAttribute(MBeanServerConnection mbsc,
ObjectName object,
String attribute) |
(package private) Comparable<?> |
Monitor.getComparableFromAttribute(ObjectName object,
String attribute,
Object value) |
(package private) Comparable<?> |
Monitor.getDerivedGaugeFromComparable(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) Comparable<?> |
GaugeMonitor.getDerivedGaugeFromComparable(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) Comparable<?> |
CounterMonitor.getDerivedGaugeFromComparable(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) boolean |
StringMonitor.isComparableTypeValid(ObjectName object,
String attribute,
Comparable<?> value)
Check that the type of the supplied observed attribute
value is one of the value types supported by this monitor.
|
(package private) boolean |
Monitor.isComparableTypeValid(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) boolean |
GaugeMonitor.isComparableTypeValid(ObjectName object,
String attribute,
Comparable<?> value)
This method globally sets the derived gauge type for the given
"object" and "attribute" after checking that the type of the
supplied observed attribute value is one of the value types
supported by this monitor.
|
(package private) boolean |
CounterMonitor.isComparableTypeValid(ObjectName object,
String attribute,
Comparable<?> value)
This method globally sets the derived gauge type for the given
"object" and "attribute" after checking that the type of the
supplied observed attribute value is one of the value types
supported by this monitor.
|
private boolean |
GaugeMonitor.isFirstStrictlyGreaterThanLast(Number greater,
Number less,
String className)
Tests if the first specified Number is strictly greater than the last.
|
(package private) boolean |
Monitor.isThresholdTypeValid(ObjectName object,
String attribute,
Comparable<?> value) |
(package private) boolean |
GaugeMonitor.isThresholdTypeValid(ObjectName object,
String attribute,
Comparable<?> value)
Tests if the threshold high and threshold low are both of the
same type as the gauge.
|
(package private) boolean |
CounterMonitor.isThresholdTypeValid(ObjectName object,
String attribute,
Comparable<?> value)
Tests if the threshold, offset and modulus of the specified observed
object are of the same type as the counter.
|
private void |
Monitor.sendNotification(String type,
long timeStamp,
String msg,
Object derGauge,
Object trigger,
ObjectName object,
boolean onError)
This method is used by the monitor MBean to create and send a
monitor notification to all the listeners registered for this
kind of notification.
|
void |
MonitorMBean.setObservedAttribute(String attribute)
Sets the attribute to observe.
|
void |
Monitor.setObservedAttribute(String attribute)
Sets the attribute to observe.
|
void |
StringMonitorMBean.setStringToCompare(String value)
Sets the string to compare with the observed attribute.
|
void |
StringMonitor.setStringToCompare(String value)
Sets the string to compare with the observed attribute common
to all observed MBeans.
|
static Monitor.NumericalType |
Monitor.NumericalType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
Monitor.DaemonThreadFactory(String poolName) |
Monitor.DaemonThreadFactory(String poolName,
ThreadGroup threadGroup) |
MonitorNotification(String type,
Object source,
long sequenceNumber,
long timeStamp,
String msg,
ObjectName obsObj,
String obsAtt,
Object derGauge,
Object trigger)
Creates a monitor notification object.
|
MonitorSettingException(String message)
Constructor that allows an error message to be specified.
|
| Modifier and Type | Field and Description |
|---|---|
static String[] |
OpenType.ALLOWED_CLASSNAMES
Deprecated.
Use
ALLOWED_CLASSNAMES_LIST instead. |
private String |
OpenType.className |
private String |
OpenType.description |
private String[] |
TabularDataSupport.indexNamesArray
The array of item names that define the index used for rows (convenience field)
|
private String |
TabularType.myToString |
private String |
SimpleType.myToString |
private String |
OpenMBeanParameterInfoSupport.myToString |
private String |
OpenMBeanOperationInfoSupport.myToString |
private String |
OpenMBeanInfoSupport.myToString |
private String |
OpenMBeanConstructorInfoSupport.myToString |
private String |
OpenMBeanAttributeInfoSupport.myToString |
private String |
CompositeType.myToString |
private String |
ArrayType.myToString |
private String |
OpenType.typeName |
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
OpenType.ALLOWED_CLASSNAMES_LIST
List of the fully qualified names of the Java classes allowed for open
data values.
|
private SortedMap<String,Object> |
CompositeDataSupport.contents |
private List<String> |
TabularType.indexNames |
private Set<String> |
CompositeType.myNamesSet |
private TreeMap<String,String> |
CompositeType.nameToDescription |
private TreeMap<String,String> |
CompositeType.nameToDescription |
private TreeMap<String,OpenType<?>> |
CompositeType.nameToType |
static SimpleType<String> |
SimpleType.STRING
The
SimpleType instance describing values whose
Java class name is java.lang.String. |
| Modifier and Type | Method and Description |
|---|---|
private static String |
ArrayType.buildArrayClassName(int dimension,
OpenType<?> elementType) |
private static String |
ArrayType.buildArrayClassName(int dimension,
OpenType<?> elementType,
boolean isPrimitiveArray) |
private static String |
ArrayType.buildArrayDescription(int dimension,
OpenType<?> elementType) |
private static String |
ArrayType.buildArrayDescription(int dimension,
OpenType<?> elementType,
boolean isPrimitiveArray) |
private String |
CompositeDataSupport.contentString() |
String |
OpenType.getClassName()
Returns the fully qualified Java class name of the open data values
this open type describes.
|
String |
OpenMBeanInfo.getClassName()
Returns the fully qualified Java class name of the open MBean
instances this OpenMBeanInfo describes.
|
String |
OpenType.getDescription()
Returns the text description of this
OpenType instance. |
String |
OpenMBeanParameterInfo.getDescription()
Returns a human readable description of the parameter
described by this OpenMBeanParameterInfo instance.
|
String |
OpenMBeanOperationInfo.getDescription()
Returns a human readable description of the operation
described by this OpenMBeanOperationInfo instance.
|
String |
OpenMBeanInfo.getDescription()
Returns a human readable description of the type of open MBean
instances this OpenMBeanInfo describes.
|
String |
OpenMBeanConstructorInfo.getDescription()
Returns a human readable description of the constructor
described by this OpenMBeanConstructorInfo instance.
|
String |
CompositeType.getDescription(String itemName)
Returns the description of the item whose name is itemName,
or
null if this CompositeType instance does not define any item
whose name is itemName. |
String |
OpenMBeanParameterInfo.getName()
Returns the name of the parameter
described by this OpenMBeanParameterInfo instance.
|
String |
OpenMBeanOperationInfo.getName()
Returns the name of the operation
described by this OpenMBeanOperationInfo instance.
|
String |
OpenMBeanConstructorInfo.getName()
Returns the name of the constructor
described by this OpenMBeanConstructorInfo instance.
|
(package private) static String |
ArrayType.getPrimitiveTypeKey(String elementClassName)
Return the key used to identify the element type in
arrays - e.g.
|
(package private) static String |
ArrayType.getPrimitiveTypeName(String elementClassName)
Return the primitive type name corresponding to the given wrapper class.
|
String |
OpenMBeanOperationInfo.getReturnType()
Returns the fully qualified Java class name of the values
returned by the operation described by this
OpenMBeanOperationInfo instance.
|
String |
OpenType.getTypeName()
Returns the name of this
OpenType instance. |
(package private) String |
OpenType.safeGetClassName() |
String |
TabularType.toString()
Returns a string representation of this
TabularType instance. |
String |
TabularDataSupport.toString()
Returns a string representation of this
TabularDataSupport instance. |
String |
TabularData.toString()
Returns a string representation of this
TabularData instance. |
String |
SimpleType.toString()
Returns a string representation of this
SimpleType instance. |
abstract String |
OpenType.toString()
Returns a string representation of this open type instance.
|
String |
OpenMBeanParameterInfoSupport.toString()
Returns a string representation of this
OpenMBeanParameterInfoSupport instance. |
String |
OpenMBeanParameterInfo.toString()
Returns a string representation of this
OpenMBeanParameterInfo instance. |
String |
OpenMBeanOperationInfoSupport.toString()
Returns a string representation of this
OpenMBeanOperationInfoSupport instance. |
String |
OpenMBeanOperationInfo.toString()
Returns a string representation of this
OpenMBeanOperationInfo instance. |
String |
OpenMBeanInfoSupport.toString()
Returns a string representation of this
OpenMBeanInfoSupport instance. |
String |
OpenMBeanInfo.toString()
Returns a string representation of this
OpenMBeanInfo instance. |
String |
OpenMBeanConstructorInfoSupport.toString()
Returns a string representation of this
OpenMBeanConstructorInfoSupport instance. |
String |
OpenMBeanConstructorInfo.toString()
Returns a string representation of this
OpenMBeanConstructorInfo instance. |
String |
OpenMBeanAttributeInfoSupport.toString()
Returns a string representation of this
OpenMBeanAttributeInfoSupport instance. |
String |
OpenMBeanAttributeInfo.toString()
Returns a string representation of this
OpenMBeanAttributeInfo instance. |
String |
CompositeType.toString()
Returns a string representation of this
CompositeType instance. |
String |
CompositeDataSupport.toString()
Returns a string representation of this
CompositeDataSupport instance. |
String |
CompositeData.toString()
Returns a string representation of this
CompositeData instance. |
String |
ArrayType.toString()
Returns a string representation of this
ArrayType instance. |
(package private) static String |
OpenMBeanAttributeInfoSupport.toString(OpenMBeanParameterInfo info) |
private static String |
OpenType.valid(String argName,
String argValue) |
private static String |
OpenType.validClassName(String className) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
TabularType.getIndexNames()
Returns, in the same order as was given to this instance's
constructor, an unmodifiable List of the names of the items the
values of which are used to uniquely index each row element of
tabular data values described by this
TabularType
instance. |
Set<String> |
CompositeType.keySet()
Returns an unmodifiable Set view of all the item names defined by this
CompositeType instance. |
private static SortedMap<String,Object> |
CompositeDataSupport.makeMap(Map<String,?> items) |
private static SortedMap<String,Object> |
CompositeDataSupport.makeMap(String[] itemNames,
Object[] itemValues) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
TabularType.checkForEmptyString(String[] arg,
String argName)
Checks that String[] does not contain any empty (or blank characters only) string.
|
private static void |
TabularType.checkForEmptyString(String[] arg,
String argName)
Checks that String[] does not contain any empty (or blank characters only) string.
|
private static void |
CompositeType.checkForEmptyString(String[] arg,
String argName) |
private static void |
CompositeType.checkForEmptyString(String[] arg,
String argName) |
private static void |
TabularType.checkForNullElement(Object[] arg,
String argName)
Checks that Object[] arg is neither null nor empty (ie length==0)
and that it does not contain any null element.
|
private static void |
CompositeType.checkForNullElement(Object[] arg,
String argName) |
(package private) static <T> Comparable<?> |
OpenMBeanAttributeInfoSupport.comparableValueFrom(Descriptor d,
String name,
OpenType<T> openType) |
boolean |
CompositeType.containsKey(String itemName)
Returns
true if this CompositeType instance defines an item
whose name is itemName. |
boolean |
CompositeDataSupport.containsKey(String key)
Returns true if and only if this CompositeData instance contains
an item whose name is key.
|
boolean |
CompositeData.containsKey(String key)
Returns true if and only if this CompositeData instance contains
an item whose name is key.
|
private static <T> T |
OpenMBeanAttributeInfoSupport.convertFromString(String s,
OpenType<T> openType) |
Object |
CompositeDataSupport.get(String key)
Returns the value of the item whose name is key.
|
Object |
CompositeData.get(String key)
Returns the value of the item whose name is key.
|
Object[] |
CompositeDataSupport.getAll(String[] keys)
Returns an array of the values of the items whose names are specified by
keys, in the same order as keys.
|
Object[] |
CompositeData.getAll(String[] keys)
Returns an array of the values of the items whose names are specified by keys, in the same order as keys.
|
String |
CompositeType.getDescription(String itemName)
Returns the description of the item whose name is itemName,
or
null if this CompositeType instance does not define any item
whose name is itemName. |
(package private) static SimpleType<?> |
ArrayType.getPrimitiveOpenType(String primitiveTypeName)
Return the primitive open type corresponding to the given primitive type.
|
(package private) static String |
ArrayType.getPrimitiveTypeKey(String elementClassName)
Return the key used to identify the element type in
arrays - e.g.
|
(package private) static String |
ArrayType.getPrimitiveTypeName(String elementClassName)
Return the primitive type name corresponding to the given wrapper class.
|
OpenType<?> |
CompositeType.getType(String itemName)
Returns the open type of the item whose name is itemName,
or
null if this CompositeType instance does not define any item
whose name is itemName. |
(package private) static boolean |
ArrayType.isPrimitiveContentType(String primitiveKey) |
private static SortedMap<String,Object> |
CompositeDataSupport.makeMap(String[] itemNames,
Object[] itemValues) |
private static String |
OpenType.valid(String argName,
String argValue) |
private static String |
OpenType.validClassName(String className) |
(package private) static <T> T |
OpenMBeanAttributeInfoSupport.valueFrom(Descriptor d,
String name,
OpenType<T> openType) |
(package private) static <T> Set<T> |
OpenMBeanAttributeInfoSupport.valuesFrom(Descriptor d,
String name,
OpenType<T> openType) |
| Modifier and Type | Method and Description |
|---|---|
private static SortedMap<String,Object> |
CompositeDataSupport.makeMap(Map<String,?> items) |
| Constructor and Description |
|---|
ArrayType(String className,
String typeName,
String description,
int dimension,
OpenType<?> elementType,
boolean primitiveArray) |
CompositeDataSupport(CompositeType compositeType,
String[] itemNames,
Object[] itemValues)
Constructs a CompositeDataSupport instance with the specified
compositeType, whose item values
are specified by itemValues[], in the same order as in
itemNames[].
|
CompositeType(String typeName,
String description,
String[] itemNames,
String[] itemDescriptions,
OpenType<?>[] itemTypes)
Constructs a
CompositeType instance, checking for the validity of the given parameters. |
CompositeType(String typeName,
String description,
String[] itemNames,
String[] itemDescriptions,
OpenType<?>[] itemTypes)
Constructs a
CompositeType instance, checking for the validity of the given parameters. |
CompositeType(String typeName,
String description,
String[] itemNames,
String[] itemDescriptions,
OpenType<?>[] itemTypes)
Constructs a
CompositeType instance, checking for the validity of the given parameters. |
InvalidKeyException(String msg)
An InvalidKeyException with a detail message.
|
InvalidOpenTypeException(String msg)
An InvalidOpenTypeException with a detail message.
|
KeyAlreadyExistsException(String msg)
A KeyAlreadyExistsException with a detail message.
|
OpenDataException(String msg)
An OpenDataException with a detail message.
|
OpenMBeanAttributeInfoSupport(String name,
String description,
OpenType<?> openType,
boolean isReadable,
boolean isWritable,
boolean isIs)
Constructs an
OpenMBeanAttributeInfoSupport instance,
which describes the attribute of an open MBean with the
specified name, openType and description, and the specified read/write access properties. |
OpenMBeanAttributeInfoSupport(String name,
String description,
OpenType<?> openType,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
Constructs an
OpenMBeanAttributeInfoSupport instance,
which describes the attribute of an open MBean with the
specified name, openType, description, read/write access properties, and Descriptor. |
OpenMBeanAttributeInfoSupport(String name,
String description,
OpenType<T> openType,
boolean isReadable,
boolean isWritable,
boolean isIs,
T defaultValue)
Constructs an
OpenMBeanAttributeInfoSupport instance,
which describes the attribute of an open MBean with the
specified name, openType, description
and defaultValue, and the specified read/write access
properties. |
OpenMBeanAttributeInfoSupport(String name,
String description,
OpenType<T> openType,
boolean isReadable,
boolean isWritable,
boolean isIs,
T defaultValue,
Comparable<T> minValue,
Comparable<T> maxValue)
Constructs an
OpenMBeanAttributeInfoSupport instance,
which describes the attribute of an open MBean, with the
specified name, openType, description,
defaultValue, minValue and maxValue. |
OpenMBeanAttributeInfoSupport(String name,
String description,
OpenType<T> openType,
boolean isReadable,
boolean isWritable,
boolean isIs,
T defaultValue,
T[] legalValues)
Constructs an
OpenMBeanAttributeInfoSupport instance,
which describes the attribute of an open MBean with the
specified name, openType, description,
defaultValue and legalValues, and the specified
read/write access properties. |
OpenMBeanAttributeInfoSupport(String name,
String description,
OpenType<T> openType,
boolean isReadable,
boolean isWritable,
boolean isIs,
T defaultValue,
T[] legalValues,
Comparable<T> minValue,
Comparable<T> maxValue) |
OpenMBeanConstructorInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature)
Constructs an
OpenMBeanConstructorInfoSupport
instance, which describes the constructor of a class of open
MBeans with the specified name, description and
signature. |
OpenMBeanConstructorInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature,
Descriptor descriptor)
Constructs an
OpenMBeanConstructorInfoSupport
instance, which describes the constructor of a class of open
MBeans with the specified name, description,
signature, and descriptor. |
OpenMBeanInfoSupport(String className,
String description,
OpenMBeanAttributeInfo[] openAttributes,
OpenMBeanConstructorInfo[] openConstructors,
OpenMBeanOperationInfo[] openOperations,
MBeanNotificationInfo[] notifications)
Constructs an
OpenMBeanInfoSupport instance, which
describes a class of open MBeans with the specified className, description, openAttributes, openConstructors , openOperations and notifications. |
OpenMBeanInfoSupport(String className,
String description,
OpenMBeanAttributeInfo[] openAttributes,
OpenMBeanConstructorInfo[] openConstructors,
OpenMBeanOperationInfo[] openOperations,
MBeanNotificationInfo[] notifications,
Descriptor descriptor)
Constructs an
OpenMBeanInfoSupport instance, which
describes a class of open MBeans with the specified className, description, openAttributes, openConstructors , openOperations, notifications, and descriptor. |
OpenMBeanOperationInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature,
OpenType<?> returnOpenType,
int impact)
Constructs an
OpenMBeanOperationInfoSupport
instance, which describes the operation of a class of open
MBeans, with the specified name, description,
signature, returnOpenType and impact. |
OpenMBeanOperationInfoSupport(String name,
String description,
OpenMBeanParameterInfo[] signature,
OpenType<?> returnOpenType,
int impact,
Descriptor descriptor)
Constructs an
OpenMBeanOperationInfoSupport
instance, which describes the operation of a class of open
MBeans, with the specified name, description,
signature, returnOpenType, impact, and descriptor. |
OpenMBeanParameterInfoSupport(String name,
String description,
OpenType<?> openType)
Constructs an
OpenMBeanParameterInfoSupport instance,
which describes the parameter used in one or more operations or
constructors of a class of open MBeans, with the specified
name, openType and description. |
OpenMBeanParameterInfoSupport(String name,
String description,
OpenType<?> openType,
Descriptor descriptor)
Constructs an
OpenMBeanParameterInfoSupport instance,
which describes the parameter used in one or more operations or
constructors of a class of open MBeans, with the specified
name, openType, description,
and descriptor. |
OpenMBeanParameterInfoSupport(String name,
String description,
OpenType<T> openType,
T defaultValue)
Constructs an
OpenMBeanParameterInfoSupport instance,
which describes the parameter used in one or more operations or
constructors of a class of open MBeans, with the specified
name, openType, description and defaultValue. |
OpenMBeanParameterInfoSupport(String name,
String description,
OpenType<T> openType,
T defaultValue,
Comparable<T> minValue,
Comparable<T> maxValue)
Constructs an
OpenMBeanParameterInfoSupport instance,
which describes the parameter used in one or more operations or
constructors of a class of open MBeans, with the specified
name, openType, description, defaultValue, minValue and maxValue. |
OpenMBeanParameterInfoSupport(String name,
String description,
OpenType<T> openType,
T defaultValue,
T[] legalValues)
Constructs an
OpenMBeanParameterInfoSupport instance,
which describes the parameter used in one or more operations or
constructors of a class of open MBeans, with the specified
name, openType, description, defaultValue and legalValues. |
OpenMBeanParameterInfoSupport(String name,
String description,
OpenType<T> openType,
T defaultValue,
T[] legalValues,
Comparable<T> minValue,
Comparable<T> maxValue) |
OpenType(String className,
String typeName,
String description)
Constructs an
OpenType instance (actually a subclass instance as OpenType is abstract),
checking for the validity of the given parameters. |
OpenType(String className,
String typeName,
String description,
boolean isArray) |
TabularType(String typeName,
String description,
CompositeType rowType,
String[] indexNames)
Constructs a
TabularType instance, checking for the validity of the given parameters. |
TabularType(String typeName,
String description,
CompositeType rowType,
String[] indexNames)
Constructs a
TabularType instance, checking for the validity of the given parameters. |
| Constructor and Description |
|---|
CompositeDataSupport(CompositeType compositeType,
Map<String,?> items)
Constructs a CompositeDataSupport instance with the specified compositeType, whose item names and corresponding values
are given by the mappings in the map items.
|
CompositeDataSupport(SortedMap<String,Object> items,
CompositeType compositeType) |
| Modifier and Type | Field and Description |
|---|---|
private String |
RoleInfo.description |
private String |
RelationSupport.myRelId |
private String |
RelationSupport.myRelTypeName |
private String |
RoleInfo.name |
private String |
Role.name |
private String |
RoleInfo.referencedMBeanClassName |
static String |
RelationNotification.RELATION_BASIC_CREATION
Type for the creation of an internal relation.
|
static String |
RelationNotification.RELATION_BASIC_REMOVAL
Type for the removal from the Relation Service of an internal relation.
|
static String |
RelationNotification.RELATION_BASIC_UPDATE
Type for an update of an internal relation.
|
static String |
RelationNotification.RELATION_MBEAN_CREATION
Type for the relation MBean added into the Relation Service.
|
static String |
RelationNotification.RELATION_MBEAN_REMOVAL
Type for the removal from the Relation Service of a relation MBean.
|
static String |
RelationNotification.RELATION_MBEAN_UPDATE
Type for the update of a relation MBean.
|
private String |
RelationNotification.relationId |
private String |
RelationNotification.relationTypeName |
private String |
RoleUnresolved.roleName |
private String |
RelationNotification.roleName |
private String |
RelationTypeSupport.typeName |
| Modifier and Type | Field and Description |
|---|---|
private Map<ObjectName,Map<String,List<String>>> |
RelationService.myRefedMBeanObjName2RelIdsMap |
private Map<ObjectName,Map<String,List<String>>> |
RelationService.myRefedMBeanObjName2RelIdsMap |
private Map<String,Object> |
RelationService.myRelId2ObjMap |
private Map<String,String> |
RelationService.myRelId2RelTypeMap |
private Map<String,String> |
RelationService.myRelId2RelTypeMap |
private Map<ObjectName,String> |
RelationService.myRelMBeanObjName2RelIdMap |
private Map<String,RelationType> |
RelationService.myRelType2ObjMap |
private Map<String,List<String>> |
RelationService.myRelType2RelIdsMap |
private Map<String,List<String>> |
RelationService.myRelType2RelIdsMap |
private Map<String,Role> |
RelationSupport.myRoleName2ValueMap |
private Map<String,RoleInfo> |
RelationTypeSupport.roleName2InfoMap |
| Modifier and Type | Method and Description |
|---|---|
String |
RoleInfo.getDescription()
Returns description text for the role.
|
String |
RoleInfo.getName()
Returns the name of the role.
|
String |
RoleInfo.getRefMBeanClassName()
Returns name of type of MBean expected to be referenced in
corresponding role.
|
String |
RelationSupport.getRelationId()
Returns relation identifier (used to uniquely identify the relation
inside the Relation Service).
|
String |
RelationNotification.getRelationId()
Returns the relation identifier of created/removed/updated relation.
|
String |
Relation.getRelationId()
Returns relation identifier (used to uniquely identify the relation
inside the Relation Service).
|
String |
RelationTypeSupport.getRelationTypeName()
Returns the relation type name.
|
String |
RelationType.getRelationTypeName()
Returns the relation type name.
|
String |
RelationSupport.getRelationTypeName()
Returns name of associated relation type.
|
String |
RelationNotification.getRelationTypeName()
Returns the relation type name of created/removed/updated relation.
|
String |
Relation.getRelationTypeName()
Returns name of associated relation type.
|
String |
RelationServiceMBean.getRelationTypeName(String relationId)
Returns name of associated relation type for given relation.
|
String |
RelationService.getRelationTypeName(String relationId)
Returns name of associated relation type for given relation.
|
String |
RoleUnresolved.getRoleName()
Retrieves role name.
|
String |
Role.getRoleName()
Retrieves role name.
|
String |
RelationNotification.getRoleName()
Returns name of updated role of updated relation (only for role update).
|
String |
RelationServiceMBean.isRelation(ObjectName objectName)
Returns the relation id associated to the given ObjectName if the
MBean has been added as a relation in the Relation Service.
|
String |
RelationService.isRelation(ObjectName objectName)
Returns the relation id associated to the given ObjectName if the
MBean has been added as a relation in the Relation Service.
|
static String |
Role.roleValueToString(List<ObjectName> roleValue)
Returns a string for the given role value.
|
String |
RoleUnresolved.toString()
Return a string describing this object.
|
String |
RoleInfo.toString()
Returns a string describing the role info.
|
String |
Role.toString()
Returns a string describing the role.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ObjectName,List<String>> |
RelationServiceMBean.findAssociatedMBeans(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the MBeans associated to given one in a relation.
|
Map<ObjectName,List<String>> |
RelationService.findAssociatedMBeans(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the MBeans associated to given one in a relation.
|
Map<String,List<String>> |
RelationServiceMBean.findReferencingRelations(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the relations where a given MBean is referenced.
|
Map<String,List<String>> |
RelationServiceMBean.findReferencingRelations(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the relations where a given MBean is referenced.
|
Map<String,List<String>> |
RelationService.findReferencingRelations(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the relations where a given MBean is referenced.
|
Map<String,List<String>> |
RelationService.findReferencingRelations(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the relations where a given MBean is referenced.
|
List<String> |
RelationServiceMBean.findRelationsOfType(String relationTypeName)
Returns the relation ids for relations of the given type.
|
List<String> |
RelationService.findRelationsOfType(String relationTypeName)
Returns the relation ids for relations of the given type.
|
List<String> |
RelationServiceMBean.getAllRelationIds()
Returns all the relation ids for all the relations handled by the
Relation Service.
|
List<String> |
RelationService.getAllRelationIds()
Returns all the relation ids for all the relations handled by the
Relation Service.
|
List<String> |
RelationServiceMBean.getAllRelationTypeNames()
Retrieves names of all known relation types.
|
List<String> |
RelationService.getAllRelationTypeNames()
Retrieves names of all known relation types.
|
Map<ObjectName,List<String>> |
RelationSupport.getReferencedMBeans()
Retrieves MBeans referenced in the various roles of the relation.
|
Map<ObjectName,List<String>> |
Relation.getReferencedMBeans()
Retrieves MBeans referenced in the various roles of the relation.
|
Map<ObjectName,List<String>> |
RelationServiceMBean.getReferencedMBeans(String relationId)
Retrieves MBeans referenced in the various roles of the relation.
|
Map<ObjectName,List<String>> |
RelationService.getReferencedMBeans(String relationId)
Retrieves MBeans referenced in the various roles of the relation.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
RelationService.addNewMBeanReference(ObjectName objectName,
String relationId,
String roleName) |
private void |
RelationService.addRelationInt(boolean relationBaseFlag,
RelationSupport relationObj,
ObjectName relationObjName,
String relationId,
String relationTypeName,
RoleList roleList) |
private Integer |
RelationService.checkRoleInt(int chkType,
String roleName,
List<ObjectName> roleValue,
RoleInfo roleInfo,
boolean writeChkFlag) |
Integer |
RelationServiceMBean.checkRoleReading(String roleName,
String relationTypeName)
Checks if given Role can be read in a relation of the given type.
|
Integer |
RelationService.checkRoleReading(String roleName,
String relationTypeName)
Checks if given Role can be read in a relation of the given type.
|
Integer |
RelationServiceMBean.checkRoleWriting(Role role,
String relationTypeName,
Boolean initFlag)
Checks if given Role can be set in a relation of given type.
|
Integer |
RelationService.checkRoleWriting(Role role,
String relationTypeName,
Boolean initFlag)
Checks if given Role can be set in a relation of given type.
|
void |
RelationServiceMBean.createRelation(String relationId,
String relationTypeName,
RoleList roleList)
Creates a simple relation (represented by a RelationSupport object) of
given relation type, and adds it in the Relation Service.
|
void |
RelationService.createRelation(String relationId,
String relationTypeName,
RoleList roleList)
Creates a simple relation (represented by a RelationSupport object) of
given relation type, and adds it in the Relation Service.
|
void |
RelationServiceMBean.createRelationType(String relationTypeName,
RoleInfo[] roleInfoArray)
Creates a relation type (RelationTypeSupport object) with given
role infos (provided by the RoleInfo objects), and adds it in the
Relation Service.
|
void |
RelationService.createRelationType(String relationTypeName,
RoleInfo[] roleInfoArray)
Creates a relation type (a RelationTypeSupport object) with given
role infos (provided by the RoleInfo objects), and adds it in the
Relation Service.
|
Map<ObjectName,List<String>> |
RelationServiceMBean.findAssociatedMBeans(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the MBeans associated to given one in a relation.
|
Map<ObjectName,List<String>> |
RelationService.findAssociatedMBeans(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the MBeans associated to given one in a relation.
|
Map<String,List<String>> |
RelationServiceMBean.findReferencingRelations(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the relations where a given MBean is referenced.
|
Map<String,List<String>> |
RelationService.findReferencingRelations(ObjectName mbeanName,
String relationTypeName,
String roleName)
Retrieves the relations where a given MBean is referenced.
|
List<String> |
RelationServiceMBean.findRelationsOfType(String relationTypeName)
Returns the relation ids for relations of the given type.
|
List<String> |
RelationService.findRelationsOfType(String relationTypeName)
Returns the relation ids for relations of the given type.
|
RoleResult |
RelationServiceMBean.getAllRoles(String relationId)
Returns all roles present in the relation.
|
RoleResult |
RelationService.getAllRoles(String relationId)
Returns all roles present in the relation.
|
Map<ObjectName,List<String>> |
RelationServiceMBean.getReferencedMBeans(String relationId)
Retrieves MBeans referenced in the various roles of the relation.
|
Map<ObjectName,List<String>> |
RelationService.getReferencedMBeans(String relationId)
Retrieves MBeans referenced in the various roles of the relation.
|
(package private) Object |
RelationService.getRelation(String relationId) |
(package private) RelationType |
RelationService.getRelationType(String relationTypeName) |
String |
RelationServiceMBean.getRelationTypeName(String relationId)
Returns name of associated relation type for given relation.
|
String |
RelationService.getRelationTypeName(String relationId)
Returns name of associated relation type for given relation.
|
List<ObjectName> |
RelationSupport.getRole(String roleName)
Retrieves role value for given role name.
|
List<ObjectName> |
Relation.getRole(String roleName)
Retrieves role value for given role name.
|
List<ObjectName> |
RelationServiceMBean.getRole(String relationId,
String roleName)
Retrieves role value for given role name in given relation.
|
List<ObjectName> |
RelationService.getRole(String relationId,
String roleName)
Retrieves role value for given role name in given relation.
|
Integer |
RelationSupport.getRoleCardinality(String roleName)
Returns the number of MBeans currently referenced in the given role.
|
Integer |
Relation.getRoleCardinality(String roleName)
Returns the number of MBeans currently referenced in the given role.
|
Integer |
RelationServiceMBean.getRoleCardinality(String relationId,
String roleName)
Retrieves the number of MBeans currently referenced in the
given role.
|
Integer |
RelationService.getRoleCardinality(String relationId,
String roleName)
Retrieves the number of MBeans currently referenced in the given role.
|
RoleInfo |
RelationTypeSupport.getRoleInfo(String roleInfoName)
Returns the role info (RoleInfo object) for the given role info name
(null if not found).
|
RoleInfo |
RelationType.getRoleInfo(String roleInfoName)
Returns the role info (RoleInfo object) for the given role info name
(null if not found).
|
RoleInfo |
RelationServiceMBean.getRoleInfo(String relationTypeName,
String roleInfoName)
Retrieves role info for given role of a given relation type.
|
RoleInfo |
RelationService.getRoleInfo(String relationTypeName,
String roleInfoName)
Retrieves role info for given role name of a given relation type.
|
List<RoleInfo> |
RelationServiceMBean.getRoleInfos(String relationTypeName)
Retrieves list of role infos (RoleInfo objects) of a given relation
type.
|
List<RoleInfo> |
RelationService.getRoleInfos(String relationTypeName)
Retrieves list of role infos (RoleInfo objects) of a given relation
type.
|
(package private) Object |
RelationSupport.getRoleInt(String roleName,
boolean relationServCallFlg,
RelationService relationServ,
boolean multiRoleFlg) |
RoleResult |
RelationSupport.getRoles(String[] roleNameArray)
Retrieves values of roles with given names.
|
RoleResult |
Relation.getRoles(String[] roleNameArray)
Retrieves values of roles with given names.
|
RoleResult |
RelationServiceMBean.getRoles(String relationId,
String[] roleNameArray)
Retrieves values of roles with given names in given relation.
|
RoleResult |
RelationServiceMBean.getRoles(String relationId,
String[] roleNameArray)
Retrieves values of roles with given names in given relation.
|
RoleResult |
RelationService.getRoles(String relationId,
String[] roleNameArray)
Retrieves values of roles with given names in given relation.
|
RoleResult |
RelationService.getRoles(String relationId,
String[] roleNameArray)
Retrieves values of roles with given names in given relation.
|
(package private) RoleResult |
RelationSupport.getRolesInt(String[] roleNameArray,
boolean relationServCallFlg,
RelationService relationServ) |
void |
RelationSupport.handleMBeanUnregistration(ObjectName objectName,
String roleName)
Callback used by the Relation Service when a MBean referenced in a role
is unregistered.
|
void |
Relation.handleMBeanUnregistration(ObjectName objectName,
String roleName)
Callback used by the Relation Service when a MBean referenced in a role
is unregistered.
|
(package private) void |
RelationSupport.handleMBeanUnregistrationInt(ObjectName objectName,
String roleName,
boolean relationServCallFlg,
RelationService relationServ) |
private void |
RelationService.handleReferenceUnregistration(String relationId,
ObjectName objectName,
List<String> roleNameList) |
Boolean |
RelationServiceMBean.hasRelation(String relationId)
Checks if there is a relation identified in Relation Service with given
relation id.
|
Boolean |
RelationService.hasRelation(String relationId)
Checks if there is a relation identified in Relation Service with given
relation id.
|
private void |
RoleInfo.init(String roleName,
String mbeanClassName,
boolean read,
boolean write,
int min,
int max,
String descr) |
private void |
RelationService.initializeMissingRoles(boolean relationBaseFlag,
RelationSupport relationObj,
ObjectName relationObjName,
String relationId,
String relationTypeName,
List<RoleInfo> roleInfoList) |
private void |
RelationSupport.initMembers(String relationId,
ObjectName relationServiceName,
MBeanServer relationServiceMBeanServer,
String relationTypeName,
RoleList list) |
private void |
RelationTypeSupport.initMembers(String relationTypeName,
RoleInfo[] roleInfoArray) |
ObjectName |
RelationServiceMBean.isRelationMBean(String relationId)
If the relation is represented by an MBean (created by the user and
added as a relation in the Relation Service), returns the ObjectName of
the MBean.
|
ObjectName |
RelationService.isRelationMBean(String relationId)
If the relation is represented by an MBean (created by the user and
added as a relation in the Relation Service), returns the ObjectName of
the MBean.
|
private boolean |
RelationNotification.isValidBasic(String notifType,
Object sourceObj,
String id,
String typeName) |
private boolean |
RelationNotification.isValidBasicStrict(String notifType,
Object sourceObj,
String id,
String typeName) |
private boolean |
RelationNotification.isValidCreate(String notifType) |
private boolean |
RelationNotification.isValidUpdate(String notifType,
String name,
List<ObjectName> newValue,
List<ObjectName> oldValue) |
private boolean |
RelationService.removeMBeanReference(ObjectName objectName,
String relationId,
String roleName,
boolean allRolesFlag) |
void |
RelationServiceMBean.removeRelation(String relationId)
Removes given relation from the Relation Service.
|
void |
RelationService.removeRelation(String relationId)
Removes given relation from the Relation Service.
|
void |
RelationServiceMBean.removeRelationType(String relationTypeName)
Removes given relation type from Relation Service.
|
void |
RelationService.removeRelationType(String relationTypeName)
Removes given relation type from Relation Service.
|
private void |
RelationService.sendNotificationInt(int intNtfType,
String message,
String relationId,
List<ObjectName> unregMBeanList,
String roleName,
List<ObjectName> roleNewValue,
List<ObjectName> oldValue) |
void |
RelationServiceMBean.sendRelationCreationNotification(String relationId)
Sends a notification (RelationNotification) for a relation creation.
|
void |
RelationService.sendRelationCreationNotification(String relationId)
Sends a notification (RelationNotification) for a relation creation.
|
void |
RelationServiceMBean.sendRelationRemovalNotification(String relationId,
List<ObjectName> unregMBeanList)
Sends a notification (RelationNotification) for a relation removal.
|
void |
RelationService.sendRelationRemovalNotification(String relationId,
List<ObjectName> unregMBeanList)
Sends a notification (RelationNotification) for a relation removal.
|
void |
RelationServiceMBean.sendRoleUpdateNotification(String relationId,
Role newRole,
List<ObjectName> oldRoleValue)
Sends a notification (RelationNotification) for a role update in the
given relation.
|
void |
RelationService.sendRoleUpdateNotification(String relationId,
Role newRole,
List<ObjectName> oldValue)
Sends a notification (RelationNotification) for a role update in the
given relation.
|
void |
RelationServiceMBean.setRole(String relationId,
Role role)
Sets the given role in given relation.
|
void |
RelationService.setRole(String relationId,
Role role)
Sets the given role in given relation.
|
void |
RoleUnresolved.setRoleName(String name)
Sets role name.
|
void |
Role.setRoleName(String roleName)
Sets role name.
|
RoleResult |
RelationServiceMBean.setRoles(String relationId,
RoleList roleList)
Sets the given roles in given relation.
|
RoleResult |
RelationService.setRoles(String relationId,
RoleList roleList)
Sets the given roles in given relation.
|
(package private) static void |
RelationService.throwRoleProblemException(int pbType,
String roleName) |
void |
RelationServiceMBean.updateRoleMap(String relationId,
Role newRole,
List<ObjectName> oldRoleValue)
Handles update of the Relation Service role map for the update of given
role in given relation.
|
void |
RelationService.updateRoleMap(String relationId,
Role newRole,
List<ObjectName> oldValue)
Handles update of the Relation Service role map for the update of given
role in given relation.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
RelationService.handleReferenceUnregistration(String relationId,
ObjectName objectName,
List<String> roleNameList) |
| Constructor and Description |
|---|
InvalidRelationIdException(String message)
Constructor with given message put in exception.
|
InvalidRelationServiceException(String message)
Constructor with given message put in exception.
|
InvalidRelationTypeException(String message)
Constructor with given message put in exception.
|
InvalidRoleInfoException(String message)
Constructor with given message put in exception.
|
InvalidRoleValueException(String message)
Constructor with given message put in exception.
|
RelationException(String message)
Constructor with given message put in exception.
|
RelationNotFoundException(String message)
Constructor with given message put in exception.
|
RelationNotification(String notifType,
Object sourceObj,
long sequence,
long timeStamp,
String message,
String id,
String typeName,
ObjectName objectName,
List<ObjectName> unregMBeanList)
Creates a notification for either a relation creation (RelationSupport
object created internally in the Relation Service, or an MBean added as a
relation) or for a relation removal from the Relation Service.
|
RelationNotification(String notifType,
Object sourceObj,
long sequence,
long timeStamp,
String message,
String id,
String typeName,
ObjectName objectName,
String name,
List<ObjectName> newValue,
List<ObjectName> oldValue)
Creates a notification for a role update in a relation.
|
RelationServiceNotRegisteredException(String message)
Constructor with given message put in exception.
|
RelationSupport(String relationId,
ObjectName relationServiceName,
MBeanServer relationServiceMBeanServer,
String relationTypeName,
RoleList list)
Creates a
RelationSupport object. |
RelationSupport(String relationId,
ObjectName relationServiceName,
String relationTypeName,
RoleList list)
Creates a
RelationSupport object. |
RelationTypeNotFoundException(String message)
Constructor with given message put in exception.
|
RelationTypeSupport(String relationTypeName)
Constructor to be used for subclasses.
|
RelationTypeSupport(String relationTypeName,
RoleInfo[] roleInfoArray)
Constructor where all role definitions are dynamically created and
passed as parameter.
|
Role(String roleName,
List<ObjectName> roleValue)
Make a new Role object.
|
RoleInfo(String roleName,
String mbeanClassName)
Constructor.
|
RoleInfo(String roleName,
String mbeanClassName,
boolean read,
boolean write)
Constructor.
|
RoleInfo(String roleName,
String mbeanClassName,
boolean read,
boolean write,
int min,
int max,
String descr)
Constructor.
|
RoleInfoNotFoundException(String message)
Constructor with given message put in exception.
|
RoleNotFoundException(String message)
Constructor with given message put in exception.
|
RoleUnresolved(String name,
List<ObjectName> value,
int pbType)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
JMXConnectorServer.AUTHENTICATOR
Name of the attribute that specifies the authenticator for a
connector server.
|
static String |
JMXConnectionNotification.CLOSED
Notification type string for a connection-closed notification.
|
private String |
JMXConnectionNotification.connectionId |
static String |
JMXConnector.CREDENTIALS
Name of the attribute that specifies the credentials to send
to the connector server during connection.
|
static String |
JMXConnectorServerFactory.DEFAULT_CLASS_LOADER
Name of the attribute that specifies the default class
loader.
|
static String |
JMXConnectorFactory.DEFAULT_CLASS_LOADER
Name of the attribute that specifies the default class
loader.
|
static String |
JMXConnectorServerFactory.DEFAULT_CLASS_LOADER_NAME
Name of the attribute that specifies the default class
loader MBean name.
|
static String |
JMXConnectionNotification.FAILED
Notification type string for a connection-failed notification.
|
private String |
JMXServiceURL.host
The value returned by
JMXServiceURL.getHost(). |
private static String |
JMXServiceURL.INVALID_INSTANCE_MSG |
private String |
JMXPrincipal.name |
static String |
JMXConnectionNotification.NOTIFS_LOST
Notification type string for a connection that has possibly
lost notifications.
|
static String |
JMXConnectionNotification.OPENED
Notification type string for a connection-opened notification.
|
private String |
JMXServiceURL.protocol
The value returned by
JMXServiceURL.getProtocol(). |
static String |
JMXConnectorServerFactory.PROTOCOL_PROVIDER_CLASS_LOADER
Name of the attribute that specifies the class
loader for loading protocol providers.
|
static String |
JMXConnectorFactory.PROTOCOL_PROVIDER_CLASS_LOADER
Name of the attribute that specifies the class
loader for loading protocol providers.
|
private static String |
JMXConnectorServerFactory.PROTOCOL_PROVIDER_DEFAULT_PACKAGE |
private static String |
JMXConnectorFactory.PROTOCOL_PROVIDER_DEFAULT_PACKAGE |
static String |
JMXConnectorServerFactory.PROTOCOL_PROVIDER_PACKAGES
Name of the attribute that specifies the provider packages
that are consulted when looking for the handler for a protocol.
|
static String |
JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES
Name of the attribute that specifies the provider packages
that are consulted when looking for the handler for a protocol.
|
private String |
JMXServiceURL.toString
Cached result of
JMXServiceURL.toString(). |
private String |
JMXServiceURL.urlPath
The value returned by
JMXServiceURL.getURLPath(). |
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
JMXConnectorServer.connectionIds |
| Modifier and Type | Method and Description |
|---|---|
String |
JMXConnector.getConnectionId()
Gets this connection's ID from the connector server.
|
String |
JMXConnectionNotification.getConnectionId()
The connection ID to which this notification pertains.
|
String[] |
JMXConnectorServerMBean.getConnectionIds()
The list of IDs for currently-open connections to this
connector server.
|
String[] |
JMXConnectorServer.getConnectionIds() |
String |
JMXServiceURL.getHost()
The host part of the Service URL.
|
String |
JMXPrincipal.getName()
Returns the name of this principal.
|
String |
JMXServiceURL.getProtocol()
The protocol part of the Service URL.
|
String |
JMXServiceURL.getURLPath()
The URL Path part of the Service URL.
|
private static String |
JMXConnectorFactory.protocol2package(String protocol) |
private static String |
JMXConnectorFactory.resolvePkgs(Map<String,?> env) |
String |
TargetedNotification.toString()
Returns a textual representation of this Targeted Notification.
|
String |
NotificationResult.toString()
Returns a string representation of the object.
|
String |
JMXServiceURL.toString()
The string representation of this Service URL.
|
String |
JMXPrincipal.toString()
Returns a string representation of this
JMXPrincipal. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
JMXConnectorServerMBean.getAttributes()
The attributes for this connector server.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
JMXConnectorServer.connectionClosed(String connectionId,
String message,
Object userData)
Called by a subclass when a client connection is closed
normally.
|
protected void |
JMXConnectorServer.connectionFailed(String connectionId,
String message,
Object userData)
Called by a subclass when a client connection fails.
|
protected void |
JMXConnectorServer.connectionOpened(String connectionId,
String message,
Object userData)
Called by a subclass when a new client connection is opened.
|
(package private) static <T> T |
JMXConnectorFactory.getProvider(JMXServiceURL serviceURL,
Map<String,Object> environment,
String providerClassName,
Class<T> targetInterface,
ClassLoader loader) |
(package private) static <T> T |
JMXConnectorFactory.getProvider(String protocol,
String pkgs,
ClassLoader loader,
String providerClassName,
Class<T> targetInterface) |
private static int |
JMXServiceURL.indexOf(String s,
char c,
int fromIndex) |
private static int |
JMXServiceURL.indexOfFirstNotInSet(String s,
BitSet set,
int fromIndex) |
private static boolean |
JMXServiceURL.isNumericIPv6Address(String s) |
private static String |
JMXConnectorFactory.protocol2package(String protocol) |
private void |
JMXConnectorServer.sendNotification(String type,
String connectionId,
String message,
Object userData) |
private static void |
JMXPrincipal.validate(String name) |
private void |
JMXServiceURL.validate(String proto,
String h,
int p,
String url) |
private static void |
JMXServiceURL.validateHost(String h,
int port) |
| Modifier and Type | Method and Description |
|---|---|
static JMXConnector |
JMXConnectorFactory.connect(JMXServiceURL serviceURL,
Map<String,?> environment)
Creates a connection to the connector server at the given
address.
|
void |
JMXConnector.connect(Map<String,?> env)
Establishes the connection to the connector server.
|
private static JMXConnector |
JMXConnectorFactory.getConnectorAsService(ClassLoader loader,
JMXServiceURL url,
Map<String,?> map) |
private static JMXConnectorServer |
JMXConnectorServerFactory.getConnectorServerAsService(ClassLoader loader,
JMXServiceURL url,
Map<String,?> map,
MBeanServer mbs) |
(package private) static <T> T |
JMXConnectorFactory.getProvider(JMXServiceURL serviceURL,
Map<String,Object> environment,
String providerClassName,
Class<T> targetInterface,
ClassLoader loader) |
JMXConnector |
JMXConnectorProvider.newJMXConnector(JMXServiceURL serviceURL,
Map<String,?> environment)
Creates a new connector client that is ready to connect
to the connector server at the given address.
|
static JMXConnector |
JMXConnectorFactory.newJMXConnector(JMXServiceURL serviceURL,
Map<String,?> environment)
Creates a connector client for the connector server at the
given address.
|
JMXConnectorServer |
JMXConnectorServerProvider.newJMXConnectorServer(JMXServiceURL serviceURL,
Map<String,?> environment,
MBeanServer mbeanServer)
Creates a new connector server at the given address.
|
static JMXConnectorServer |
JMXConnectorServerFactory.newJMXConnectorServer(JMXServiceURL serviceURL,
Map<String,?> environment,
MBeanServer mbeanServer)
Creates a connector server at the given address.
|
(package private) static ClassLoader |
JMXConnectorFactory.resolveClassLoader(Map<String,?> environment) |
private static String |
JMXConnectorFactory.resolvePkgs(Map<String,?> env) |
JMXConnector |
JMXConnectorServerMBean.toJMXConnector(Map<String,?> env)
Returns a client stub for this connector server.
|
JMXConnector |
JMXConnectorServer.toJMXConnector(Map<String,?> env)
Returns a client stub for this connector server.
|
| Constructor and Description |
|---|
JMXConnectionNotification(String type,
Object source,
String connectionId,
long sequenceNumber,
String message,
Object userData)
Constructs a new connection notification.
|
JMXPrincipal(String name)
Creates a JMXPrincipal for a given identity.
|
JMXProviderException(String message)
Constructs a
JMXProviderException with the
specified detail message. |
JMXProviderException(String message,
Throwable cause)
Constructs a
JMXProviderException with the
specified detail message and nested exception. |
JMXServerErrorException(String s,
Error err)
Constructs a
JMXServerErrorException with the specified
detail message and nested error. |
JMXServiceURL(String serviceURL)
Constructs a
JMXServiceURL by parsing a Service URL
string. |
JMXServiceURL(String protocol,
String host,
int port)
Constructs a
JMXServiceURL with the given protocol,
host, and port. |
JMXServiceURL(String protocol,
String host,
int port,
String urlPath)
Constructs a
JMXServiceURL with the given parts. |
SubjectDelegationPermission(String name)
Creates a new SubjectDelegationPermission with the specified name.
|
SubjectDelegationPermission(String name,
String actions)
Creates a new SubjectDelegationPermission object with the
specified name.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
RMIConnectorServer.boundJndiUrl |
private String[] |
NoCallStackClassLoader.classNames |
private String |
RMIConnector.connectionId |
private String |
RMIConnectionImpl.connectionId |
private static String |
RMIConnector.iiopConnectionStubClassName |
static String |
RMIConnectorServer.JNDI_REBIND_ATTRIBUTE
Name of the attribute that specifies whether the
RMIServer stub that represents an RMI connector server should
override an existing stub at the same address. |
private static String[] |
RMIConnectionImpl.NO_STRINGS |
private static String |
RMIConnector.pInputStreamClassName |
private static String |
RMIConnector.pRefClassName |
private static String |
RMIConnector.ProxyInputStreamClassName |
private static String |
RMIConnector.proxyStubClassName |
private String[] |
NoCallStackClassLoader.referencedClassNames |
static String |
RMIConnectorServer.RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE
Name of the attribute that specifies the
RMIClientSocketFactory for the RMI objects created in
conjunction with this connector. |
static String |
RMIConnectorServer.RMI_SERVER_SOCKET_FACTORY_ATTRIBUTE
Name of the attribute that specifies the
RMIServerSocketFactory for the RMI objects created in
conjunction with this connector. |
private static String |
RMIConnector.rmiConnectionImplStubClassName |
private static String |
RMIConnector.rmiServerImplStubClassName |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,?> |
RMIConnectorServer.attributes |
private Map<String,?> |
RMIServerImpl.env |
private Map<String,?> |
RMIJRMPServerImpl.env |
private Map<String,?> |
RMIIIOPServerImpl.env |
private Map<String,Object> |
RMIConnector.env |
private Map<String,?> |
RMIConnectionImpl.env |
| Modifier and Type | Method and Description |
|---|---|
private static String |
RMIConnectorServer.byteArrayToBase64(byte[] a) |
(package private) static String |
RMIConnectorServer.encodeIIOPStub(RMIServer rmiServer,
Map<String,?> env) |
(package private) static String |
RMIConnectorServer.encodeJRMPStub(RMIServer rmiServer,
Map<String,?> env) |
(package private) static String |
RMIConnectorServer.encodeStub(RMIServer rmiServer,
Map<String,?> env)
Returns the IOR of the given rmiServer.
|
String |
RMIConnector.getConnectionId() |
String |
RMIConnectionImpl_Stub.getConnectionId() |
String |
RMIConnectionImpl.getConnectionId() |
String |
RMIConnection.getConnectionId()
Returns the connection ID.
|
String |
RMIConnector.RemoteMBeanServerConnection.getDefaultDomain() |
String |
RMIConnectionImpl_Stub.getDefaultDomain(Subject $param_Subject_1) |
String |
RMIConnectionImpl.getDefaultDomain(Subject delegationSubject) |
String |
RMIConnection.getDefaultDomain(Subject delegationSubject)
Handles the method
MBeanServerConnection.getDefaultDomain(). |
String[] |
RMIConnector.RemoteMBeanServerConnection.getDomains() |
String[] |
RMIConnectionImpl_Stub.getDomains(Subject $param_Subject_1) |
String[] |
RMIConnectionImpl.getDomains(Subject delegationSubject) |
String[] |
RMIConnection.getDomains(Subject delegationSubject)
Handles the method
MBeanServerConnection.getDomains(). |
protected abstract String |
RMIServerImpl.getProtocol()
Returns the protocol string for this object.
|
protected String |
RMIJRMPServerImpl.getProtocol() |
protected String |
RMIIIOPServerImpl.getProtocol() |
String |
RMIServerImpl_Stub.getVersion() |
String |
RMIServerImpl.getVersion() |
String |
RMIServer.getVersion()
The version of the RMI Connector Protocol understood by this
connector server.
|
private static String |
RMIServerImpl.makeConnectionId(String protocol,
Subject subject) |
private static String[] |
RMIConnectionImpl.nullIsEmpty(String[] array) |
private static String |
RMIConnector.objects(Object[] objs) |
private static String |
RMIConnectionImpl.objects(Object[] objs) |
private static String |
RMIConnector.strings(String[] strs) |
private static String |
RMIConnectionImpl.strings(String[] strs) |
String |
RMIConnector.toString()
Returns a string representation of this object.
|
String |
RMIConnectionImpl.toString()
Returns a string representation of this object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
RMIConnectorServer.getAttributes() |
| Modifier and Type | Method and Description |
|---|---|
private static byte[] |
RMIConnector.base64ToByteArray(String s) |
(package private) void |
RMIConnectorServer.bind(String jndiUrl,
Hashtable<?,?> attributes,
RMIServer rmiServer,
boolean rebind)
Bind a stub to a registry.
|
private static void |
RMIConnectionImpl.checkNonNull(String what,
Object x) |
protected void |
RMIConnectorServer.connectionClosed(String connectionId,
String message,
Object userData) |
protected void |
RMIConnectorServer.connectionFailed(String connectionId,
String message,
Object userData) |
protected void |
RMIConnectorServer.connectionOpened(String connectionId,
String message,
Object userData) |
ObjectInstance |
RMIConnector.RemoteMBeanServerConnection.createMBean(String className,
ObjectName name) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName, Object[], String[]). |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName, Object[], String[]). |
ObjectInstance |
RMIConnector.RemoteMBeanServerConnection.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature) |
ObjectInstance |
RMIConnector.RemoteMBeanServerConnection.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature) |
ObjectInstance |
RMIConnector.RemoteMBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
MarshalledObject $param_MarshalledObject_4,
String[] $param_arrayOf_String_5,
Subject $param_Subject_6) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
MarshalledObject $param_MarshalledObject_4,
String[] $param_arrayOf_String_5,
Subject $param_Subject_6) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnector.RemoteMBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature) |
ObjectInstance |
RMIConnector.RemoteMBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
Subject $param_Subject_4) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName, ObjectName). |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
Subject $param_Subject_3) |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
Subject delegationSubject) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName). |
protected Class<?> |
NoCallStackClassLoader.findClass(String name) |
private RMIServer |
RMIConnector.findRMIServerIIOP(String ior,
Map<String,?> env,
boolean isIiop) |
private RMIServer |
RMIConnector.findRMIServerJNDI(String jndiURL,
Map<String,?> env,
boolean isIiop)
Lookup the RMIServer stub in a directory.
|
private RMIServer |
RMIConnector.findRMIServerJRMP(String base64,
Map<String,?> env,
boolean isIiop) |
Object |
RMIConnector.RemoteMBeanServerConnection.getAttribute(ObjectName name,
String attribute) |
Object |
RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1,
String $param_String_2,
Subject $param_Subject_3) |
Object |
RMIConnectionImpl.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject) |
Object |
RMIConnection.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject)
Handles the method
MBeanServerConnection.getAttribute(ObjectName,
String). |
AttributeList |
RMIConnector.RemoteMBeanServerConnection.getAttributes(ObjectName name,
String[] attributes) |
AttributeList |
RMIConnectionImpl_Stub.getAttributes(ObjectName $param_ObjectName_1,
String[] $param_arrayOf_String_2,
Subject $param_Subject_3) |
AttributeList |
RMIConnectionImpl.getAttributes(ObjectName name,
String[] attributes,
Subject delegationSubject) |
AttributeList |
RMIConnection.getAttributes(ObjectName name,
String[] attributes,
Subject delegationSubject)
Handles the method
MBeanServerConnection.getAttributes(ObjectName,
String[]). |
Object |
RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1,
String $param_String_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
Object |
RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1,
String $param_String_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
Object |
RMIConnection.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.invoke(ObjectName,
String, Object[], String[]). |
Object |
RMIConnection.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.invoke(ObjectName,
String, Object[], String[]). |
Object |
RMIConnector.RemoteMBeanServerConnection.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature) |
Object |
RMIConnector.RemoteMBeanServerConnection.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature) |
boolean |
RMIConnector.RemoteMBeanServerConnection.isInstanceOf(ObjectName name,
String className) |
boolean |
RMIConnectionImpl_Stub.isInstanceOf(ObjectName $param_ObjectName_1,
String $param_String_2,
Subject $param_Subject_3) |
boolean |
RMIConnectionImpl.isInstanceOf(ObjectName name,
String className,
Subject delegationSubject) |
boolean |
RMIConnection.isInstanceOf(ObjectName name,
String className,
Subject delegationSubject)
Handles the method
MBeanServerConnection.isInstanceOf(ObjectName,
String). |
protected Class<?> |
RMIConnectionImpl.CombinedClassLoader.loadClass(String name,
boolean resolve) |
protected Class<?> |
RMIConnectionImpl.CombinedClassLoader.ClassLoaderWrapper.loadClass(String name,
boolean resolve) |
protected void |
RMIConnector.RMINotifClient.lostNotifs(String message,
long number) |
protected abstract RMIConnection |
RMIServerImpl.makeClient(String connectionId,
Subject subject)
Creates a new client connection.
|
protected RMIConnection |
RMIJRMPServerImpl.makeClient(String connectionId,
Subject subject)
Creates a new client connection as an RMI object exported
through JRMP.
|
protected RMIConnection |
RMIIIOPServerImpl.makeClient(String connectionId,
Subject subject)
Creates a new client connection as an RMI object exported
through IIOP.
|
private static String |
RMIServerImpl.makeConnectionId(String protocol,
Subject subject) |
private static IOException |
RMIConnectorServer.newIOException(String message,
Throwable cause)
Construct a new IOException with a nested exception.
|
private static IOException |
RMIConnectionImpl.newIOException(String message,
Throwable cause)
Construct a new IOException with a nested exception.
|
private static String[] |
RMIConnectionImpl.nullIsEmpty(String[] array) |
private static String |
RMIConnector.strings(String[] strs) |
private static String |
RMIConnectionImpl.strings(String[] strs) |
static byte[] |
NoCallStackClassLoader.stringToBytes(String s)
Construct a
byte[] using the characters of the
given String. |
| Modifier and Type | Method and Description |
|---|---|
void |
RMIConnector.connect(Map<String,?> environment) |
(package private) static RMIServer |
RMIConnector.connectStub(RMIServer rmiServer,
Map<String,?> environment)
In order to be usable, an IIOP stub must be connected to an ORB.
|
(package private) static String |
RMIConnectorServer.encodeIIOPStub(RMIServer rmiServer,
Map<String,?> env) |
(package private) static String |
RMIConnectorServer.encodeJRMPStub(RMIServer rmiServer,
Map<String,?> env) |
(package private) static String |
RMIConnectorServer.encodeStub(RMIServer rmiServer,
Map<String,?> env)
Returns the IOR of the given rmiServer.
|
private void |
RMIConnectorServer.encodeStubInAddress(RMIServer rmiServer,
Map<String,?> attributes)
Encode a stub into the JMXServiceURL.
|
private RMIServer |
RMIConnector.findRMIServer(JMXServiceURL directoryURL,
Map<String,Object> environment) |
private RMIServer |
RMIConnector.findRMIServerIIOP(String ior,
Map<String,?> env,
boolean isIiop) |
private RMIServer |
RMIConnector.findRMIServerJNDI(String jndiURL,
Map<String,?> env,
boolean isIiop)
Lookup the RMIServer stub in a directory.
|
private RMIServer |
RMIConnector.findRMIServerJRMP(String base64,
Map<String,?> env,
boolean isIiop) |
private static RMIServerImpl |
RMIConnectorServer.newIIOPServer(Map<String,?> env) |
private static RMIServerImpl |
RMIConnectorServer.newJRMPServer(Map<String,?> env,
int port) |
private static RMIServer |
RMIConnectorServer.objectToBind(RMIServerImpl rmiServer,
Map<String,?> env)
Object that we will bind to the registry.
|
(package private) static Object |
RMIConnector.resolveOrb(Map<String,?> environment)
Get the ORB specified by environment, or create a
new one.
|
JMXConnector |
RMIConnectorServer.toJMXConnector(Map<String,?> env)
Returns a client stub for this connector server.
|
| Constructor and Description |
|---|
NoCallStackClassLoader(String[] classNames,
byte[][] byteCodes,
String[] referencedClassNames,
ClassLoader referencedClassLoader,
ProtectionDomain protectionDomain) |
NoCallStackClassLoader(String[] classNames,
byte[][] byteCodes,
String[] referencedClassNames,
ClassLoader referencedClassLoader,
ProtectionDomain protectionDomain) |
NoCallStackClassLoader(String className,
byte[] byteCode,
String[] referencedClassNames,
ClassLoader referencedClassLoader,
ProtectionDomain protectionDomain)
Simplified constructor when this loader only defines one class.
|
NoCallStackClassLoader(String className,
byte[] byteCode,
String[] referencedClassNames,
ClassLoader referencedClassLoader,
ProtectionDomain protectionDomain)
Simplified constructor when this loader only defines one class.
|
RMIConnectionImpl(RMIServerImpl rmiServer,
String connectionId,
ClassLoader defaultClassLoader,
Subject subject,
Map<String,?> env)
Constructs a new
RMIConnection. |
| Constructor and Description |
|---|
RMIConnectionImpl(RMIServerImpl rmiServer,
String connectionId,
ClassLoader defaultClassLoader,
Subject subject,
Map<String,?> env)
Constructs a new
RMIConnection. |
RMIConnector.RMINotifClient(ClassLoader cl,
Map<String,?> env) |
RMIConnector(JMXServiceURL url,
Map<String,?> environment)
Constructs an
RMIConnector that will connect
the RMI connector server with the given address. |
RMIConnector(RMIServer rmiServer,
JMXServiceURL address,
Map<String,?> environment) |
RMIConnector(RMIServer rmiServer,
Map<String,?> environment)
Constructs an
RMIConnector using the given RMI stub. |
RMIConnectorServer(JMXServiceURL url,
Map<String,?> environment)
Makes an
RMIConnectorServer. |
RMIConnectorServer(JMXServiceURL url,
Map<String,?> environment,
MBeanServer mbeanServer)
Makes an
RMIConnectorServer for the given MBean
server. |
RMIConnectorServer(JMXServiceURL url,
Map<String,?> environment,
RMIServerImpl rmiServerImpl,
MBeanServer mbeanServer)
Makes an
RMIConnectorServer for the given MBean
server. |
RMIIIOPServerImpl(Map<String,?> env)
Creates a new
RMIServerImpl. |
RMIJRMPServerImpl(int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf,
Map<String,?> env)
Creates a new
RMIServer object that will be exported
on the given port using the given socket factories. |
RMIServerImpl(Map<String,?> env)
Constructs a new
RMIServerImpl. |
| Modifier and Type | Method and Description |
|---|---|
String |
TimerMBean.getNotificationMessage(Integer id)
Gets the timer notification detailed message corresponding to the specified identifier.
|
String |
Timer.getNotificationMessage(Integer id)
Gets the timer notification detailed message corresponding to the specified identifier.
|
String |
TimerMBean.getNotificationType(Integer id)
Gets the timer notification type corresponding to the specified identifier.
|
String |
Timer.getNotificationType(Integer id)
Gets the timer notification type corresponding to the specified identifier.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
TimerMBean.addNotification(String type,
String message,
Object userData,
Date date)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date
and a null period and number of occurrences. |
Integer |
Timer.addNotification(String type,
String message,
Object userData,
Date date)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date
and a null period and number of occurrences. |
Integer |
TimerMBean.addNotification(String type,
String message,
Object userData,
Date date,
long period)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date
and period and a null number of occurrences. |
Integer |
Timer.addNotification(String type,
String message,
Object userData,
Date date,
long period)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date
and period and a null number of occurrences. |
Integer |
TimerMBean.addNotification(String type,
String message,
Object userData,
Date date,
long period,
long nbOccurences)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date,
period and number of occurrences. |
Integer |
Timer.addNotification(String type,
String message,
Object userData,
Date date,
long period,
long nbOccurences)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date,
period and number of occurrences. |
Integer |
TimerMBean.addNotification(String type,
String message,
Object userData,
Date date,
long period,
long nbOccurences,
boolean fixedRate)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date,
period and number of occurrences. |
Integer |
Timer.addNotification(String type,
String message,
Object userData,
Date date,
long period,
long nbOccurences,
boolean fixedRate)
Creates a new timer notification with the specified
type, message
and userData and inserts it into the list of notifications with a given date,
period and number of occurrences. |
Vector<Integer> |
TimerMBean.getNotificationIDs(String type)
Gets all the identifiers of timer notifications corresponding to the specified type.
|
Vector<Integer> |
Timer.getNotificationIDs(String type)
Gets all the identifiers of timer notifications corresponding to the specified type.
|
void |
TimerMBean.removeNotifications(String type)
Removes all the timer notifications corresponding to the specified type from the list of notifications.
|
void |
Timer.removeNotifications(String type)
Removes all the timer notifications corresponding to the specified type from the list of notifications.
|
| Constructor and Description |
|---|
TimerNotification(String type,
Object source,
long sequenceNumber,
long timeStamp,
String msg,
Integer id)
Creates a timer notification object.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
RefAddr.addrType
Contains the type of this address.
|
static String |
Context.APPLET
Constant that holds the name of the environment property for
specifying an applet for the initial context constructor to use
when searching for other properties.
|
static String |
Context.AUTHORITATIVE
Constant that holds the name of the environment property for
specifying the authoritativeness of the service requested.
|
static String |
Context.BATCHSIZE
Constant that holds the name of the environment property for
specifying the batch size to use when returning data via the
service's protocol.
|
protected String |
Reference.classFactory
Contains the name of the factory class for creating
an instance of the object to which this Reference refers.
|
protected String |
Reference.classFactoryLocation
Contains the location of the factory class.
|
protected String |
Reference.className
Contains the fully-qualified name of the class of the object to which
this Reference refers.
|
private String |
NameClassPair.className
Contains the class name contained in this NameClassPair.
|
private String |
StringRefAddr.contents
Contains the contents of this address.
|
static String |
Context.DNS_URL
Constant that holds the name of the environment property
for specifying the DNS host and domain names to use for the
JNDI URL context (for example, "dns://somehost/wiz.com").
|
private String |
NameClassPair.fullName
Contains the full name of this NameClassPair within its
own namespace.
|
static String |
Context.INITIAL_CONTEXT_FACTORY
Constant that holds the name of the environment property
for specifying the initial context factory to use.
|
static String |
Context.LANGUAGE
Constant that holds the name of the environment property for
specifying the preferred language to use with the service.
|
(package private) static String |
LinkRef.linkAddrType |
(package private) static String |
LinkRef.linkClassName |
protected String |
LinkException.linkExplanation
Contains the exception of why resolution of the link failed.
|
private String |
NameClassPair.name
Contains the name of this NameClassPair.
|
static String |
Context.OBJECT_FACTORIES
Constant that holds the name of the environment property
for specifying the list of object factories to use.
|
static String |
Context.PROVIDER_URL
Constant that holds the name of the environment property
for specifying configuration information for the service provider
to use.
|
static String |
Context.REFERRAL
Constant that holds the name of the environment property for
specifying how referrals encountered by the service provider
are to be processed.
|
static String |
Context.SECURITY_AUTHENTICATION
Constant that holds the name of the environment property for
specifying the security level to use.
|
static String |
Context.SECURITY_CREDENTIALS
Constant that holds the name of the environment property for
specifying the credentials of the principal for authenticating
the caller to the service.
|
static String |
Context.SECURITY_PRINCIPAL
Constant that holds the name of the environment property for
specifying the identity of the principal for authenticating
the caller to the service.
|
static String |
Context.SECURITY_PROTOCOL
Constant that holds the name of the environment property for
specifying the security protocol to use.
|
static String |
Context.STATE_FACTORIES
Constant that holds the name of the environment property
for specifying the list of state factories to use.
|
private String |
NameImpl.syntaxAvaSeparator |
private String |
NameImpl.syntaxBeginQuote1 |
private String |
NameImpl.syntaxBeginQuote2 |
private String |
NameImpl.syntaxEndQuote1 |
private String |
NameImpl.syntaxEndQuote2 |
private String |
NameImpl.syntaxEscape |
private String |
NameImpl.syntaxSeparator |
private String |
NameImpl.syntaxSeparator2 |
private String |
NameImpl.syntaxTypevalSeparator |
static String |
Context.URL_PKG_PREFIXES
Constant that holds the name of the environment property
for specifying the list of package prefixes to use when
loading in URL context factories.
|
| Modifier and Type | Method and Description |
|---|---|
String |
InitialContext.composeName(String name,
String prefix)
Composes the name of this context with a name relative to
this context.
|
String |
Context.composeName(String name,
String prefix)
Composes the name of this context with a name relative to
this context.
|
String |
NameImpl.get(int posn) |
String |
Name.get(int posn)
Retrieves a component of this name.
|
String |
CompoundName.get(int posn)
Retrieves a component of this compound name.
|
String |
CompositeName.get(int posn)
Retrieves a component of this composite name.
|
String |
Reference.getClassName()
Retrieves the class name of the object to which this reference refers.
|
String |
NameClassPair.getClassName()
Retrieves the class name of the object bound to the name of this binding.
|
String |
Binding.getClassName()
Retrieves the class name of the object bound to the name of this binding.
|
String |
NamingException.getExplanation()
Retrieves the explanation associated with this exception.
|
String |
Reference.getFactoryClassLocation()
Retrieves the location of the factory of the object
to which this reference refers.
|
String |
Reference.getFactoryClassName()
Retrieves the class name of the factory of the object
to which this reference refers.
|
String |
LinkException.getLinkExplanation()
Retrieves the explanation associated with the problem encounter
when resolving a link.
|
String |
LinkRef.getLinkName()
Retrieves the name of this link.
|
String |
NameClassPair.getName()
Retrieves the name of this binding.
|
String |
NameClassPair.getNameInNamespace()
Retrieves the full name of this binding.
|
String |
InitialContext.getNameInNamespace() |
String |
Context.getNameInNamespace()
Retrieves the full name of this context within its own namespace.
|
String |
RefAddr.getType()
Retrieves the address type of this address.
|
private static String |
InitialContext.getURLScheme(String str) |
private String |
NameImpl.stringifyComp(String comp) |
String |
Reference.toString()
Generates the string representation of this reference.
|
String |
RefAddr.toString()
Generates the string representation of this address.
|
String |
NamingException.toString()
Generates the string representation of this exception.
|
String |
NameImpl.toString() |
String |
NameClassPair.toString()
Generates the string representation of this name/class pair.
|
String |
LinkException.toString()
Generates the string representation of this exception.
|
String |
CompoundName.toString()
Generates the string representation of this compound name, using
the syntax rules of the compound name.
|
String |
CompositeName.toString()
Generates the string representation of this composite name.
|
String |
Binding.toString()
Generates the string representation of this binding.
|
String |
BinaryRefAddr.toString()
Generates the string representation of this address.
|
String |
NamingException.toString(boolean detail)
Generates the string representation in more detail.
|
String |
LinkException.toString(boolean detail)
Generates the string representation of this exception.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<String> |
Name.getAll()
Retrieves the components of this name as an enumeration
of strings.
|
Enumeration<String> |
CompoundName.getAll()
Retrieves the components of this compound name as an enumeration
of strings.
|
Enumeration<String> |
CompositeName.getAll()
Retrieves the components of this composite name as an enumeration
of strings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NameImpl.add(int posn,
String comp) |
Name |
Name.add(int posn,
String comp)
Adds a single component at a specified position within this name.
|
Name |
CompoundName.add(int posn,
String comp)
Adds a single component at a specified position within this
compound name.
|
Name |
CompositeName.add(int posn,
String comp)
Adds a single component at a specified position within this
composite name.
|
void |
NameImpl.add(String comp) |
Name |
Name.add(String comp)
Adds a single component to the end of this name.
|
Name |
CompoundName.add(String comp)
Adds a single component to the end of this compound name.
|
Name |
CompositeName.add(String comp)
Adds a single component to the end of this composite name.
|
Object |
InitialContext.addToEnvironment(String propName,
Object propVal) |
Object |
Context.addToEnvironment(String propName,
Object propVal)
Adds a new environment property to the environment of this
context.
|
void |
NamingException.appendRemainingComponent(String name)
Add name as the last component in remaining name.
|
void |
InitialContext.bind(String name,
Object obj) |
void |
Context.bind(String name,
Object obj)
Binds a name to an object.
|
String |
InitialContext.composeName(String name,
String prefix)
Composes the name of this context with a name relative to
this context.
|
String |
Context.composeName(String name,
String prefix)
Composes the name of this context with a name relative to
this context.
|
Context |
InitialContext.createSubcontext(String name) |
Context |
Context.createSubcontext(String name)
Creates and binds a new context.
|
void |
InitialContext.destroySubcontext(String name) |
void |
Context.destroySubcontext(String name)
Destroys the named context and removes it from the namespace.
|
static <T> T |
InitialContext.doLookup(String name)
A static method to retrieve the named object.
|
private int |
NameImpl.extractComp(String name,
int i,
int len,
Vector comps) |
RefAddr |
Reference.get(String addrType)
Retrieves the first address that has the address type 'addrType'.
|
private static boolean |
NameImpl.getBoolean(Properties p,
String name) |
NameParser |
InitialContext.getNameParser(String name) |
NameParser |
Context.getNameParser(String name)
Retrieves the parser associated with the named context.
|
protected Context |
InitialContext.getURLOrDefaultInitCtx(String name)
Retrieves a context for resolving the string name
name. |
private static String |
InitialContext.getURLScheme(String str) |
private boolean |
NameImpl.isA(String n,
int i,
String match) |
private boolean |
NameImpl.isMeta(String n,
int i) |
private boolean |
NameImpl.isSeparator(String n,
int i) |
NamingEnumeration<NameClassPair> |
InitialContext.list(String name) |
NamingEnumeration<NameClassPair> |
Context.list(String name)
Enumerates the names bound in the named context, along with the
class names of objects bound to them.
|
NamingEnumeration<Binding> |
InitialContext.listBindings(String name) |
NamingEnumeration<Binding> |
Context.listBindings(String name)
Enumerates the names bound in the named context, along with the
objects bound to them.
|
Object |
InitialContext.lookup(String name) |
Object |
Context.lookup(String name)
Retrieves the named object.
|
Object |
InitialContext.lookupLink(String name) |
Object |
Context.lookupLink(String name)
Retrieves the named object, following links except
for the terminal atomic component of the name.
|
Name |
NameParser.parse(String name)
Parses a name into its components.
|
void |
InitialContext.rebind(String name,
Object obj) |
void |
Context.rebind(String name,
Object obj)
Binds a name to an object, overwriting any existing binding.
|
Object |
InitialContext.removeFromEnvironment(String propName) |
Object |
Context.removeFromEnvironment(String propName)
Removes an environment property from the environment of this
context.
|
void |
InitialContext.rename(String oldName,
String newName) |
void |
Context.rename(String oldName,
String newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
void |
NameClassPair.setClassName(String name)
Sets the class name of this binding.
|
void |
LinkException.setLinkExplanation(String msg)
Sets the explanation associated with the problem encounter
when resolving a link.
|
void |
NameClassPair.setName(String name)
Sets the name of this binding.
|
void |
NameClassPair.setNameInNamespace(String fullName)
Sets the full name of this binding.
|
private int |
NameImpl.skipSeparator(String name,
int i) |
private String |
NameImpl.stringifyComp(String comp) |
private static boolean |
NameImpl.toBoolean(String name) |
void |
InitialContext.unbind(String name) |
void |
Context.unbind(String name)
Unbinds the named object.
|
| Constructor and Description |
|---|
AuthenticationException(String explanation)
Constructs a new instance of AuthenticationException using the
explanation supplied.
|
AuthenticationNotSupportedException(String explanation)
Constructs a new instance of AuthenticationNotSupportedException using
an explanation.
|
BinaryRefAddr(String addrType,
byte[] src)
Constructs a new instance of BinaryRefAddr using its address type and a byte
array for contents.
|
BinaryRefAddr(String addrType,
byte[] src,
int offset,
int count)
Constructs a new instance of BinaryRefAddr using its address type and
a region of a byte array for contents.
|
Binding(String name,
Object obj)
Constructs an instance of a Binding given its name and object.
|
Binding(String name,
Object obj,
boolean isRelative)
Constructs an instance of a Binding given its name, object, and whether
the name is relative.
|
Binding(String name,
String className,
Object obj)
Constructs an instance of a Binding given its name, class name, and object.
|
Binding(String name,
String className,
Object obj,
boolean isRelative)
Constructs an instance of a Binding given its
name, class name, object, and whether the name is relative.
|
CannotProceedException(String explanation)
Constructs a new instance of CannotProceedException using an
explanation.
|
CommunicationException(String explanation)
Constructs a new instance of CommunicationException using the
arguments supplied.
|
CompositeName(String n)
Constructs a new composite name instance by parsing the string n
using the composite name syntax (left-to-right, slash separated).
|
CompoundName(String n,
Properties syntax)
Constructs a new compound name instance by parsing the string n
using the syntax specified by the syntax properties supplied.
|
ConfigurationException(String explanation)
Constructs a new instance of ConfigurationException using an
explanation.
|
ContextNotEmptyException(String explanation)
Constructs a new instance of ContextNotEmptyException using an
explanation.
|
InsufficientResourcesException(String explanation)
Constructs a new instance of InsufficientResourcesException using an
explanation.
|
InterruptedNamingException(String explanation)
Constructs an instance of InterruptedNamingException using an
explanation of the problem.
|
InvalidNameException(String explanation)
Constructs an instance of InvalidNameException using an
explanation of the problem.
|
LimitExceededException(String explanation)
Constructs a new instance of LimitExceededException using an
explanation.
|
LinkException(String explanation)
Constructs a new instance of LinkException with an explanation
All the other fields are initialized to null.
|
LinkLoopException(String explanation)
Constructs a new instance of LinkLoopException with an explanation
All the other fields are initialized to null.
|
LinkRef(String linkName)
Constructs a LinkRef for a string name.
|
MalformedLinkException(String explanation)
Constructs a new instance of MalformedLinkException with an explanation
All the other fields are initialized to null.
|
NameAlreadyBoundException(String explanation)
Constructs a new instance of NameAlreadyBoundException using the
explanation supplied.
|
NameClassPair(String name,
String className)
Constructs an instance of a NameClassPair given its
name and class name.
|
NameClassPair(String name,
String className,
boolean isRelative)
Constructs an instance of a NameClassPair given its
name, class name, and whether it is relative to the listing context.
|
NameImpl(Properties syntax,
String n) |
NameNotFoundException(String explanation)
Constructs a new instance of NameNotFoundException using the
explanation supplied.
|
NamingException(String explanation)
Constructs a new NamingException with an explanation.
|
NamingSecurityException(String explanation)
Constructs a new instance of NamingSecurityException using the
explanation supplied.
|
NoInitialContextException(String explanation)
Constructs an instance of NoInitialContextException with an
explanation.
|
NoPermissionException(String explanation)
Constructs a new instance of NoPermissionException using an
explanation.
|
NotContextException(String explanation)
Constructs a new instance of NotContextException using an
explanation.
|
OperationNotSupportedException(String explanation)
Constructs a new instance of OperationNotSupportedException using an
explanation.
|
PartialResultException(String explanation)
Constructs a new instance of the exception using the explanation
message specified.
|
RefAddr(String addrType)
Constructs a new instance of RefAddr using its address type.
|
Reference(String className)
Constructs a new reference for an object with class name 'className'.
|
Reference(String className,
RefAddr addr)
Constructs a new reference for an object with class name 'className' and
an address.
|
Reference(String className,
RefAddr addr,
String factory,
String factoryLocation)
Constructs a new reference for an object with class name 'className',
the class name and location of the object's factory, and the address for
the object.
|
Reference(String className,
String factory,
String factoryLocation)
Constructs a new reference for an object with class name 'className',
and the class name and location of the object's factory.
|
ReferralException(String explanation)
Constructs a new instance of ReferralException using the
explanation supplied.
|
ServiceUnavailableException(String explanation)
Constructs a new instance of ServiceUnavailableException using an
explanation.
|
SizeLimitExceededException(String explanation)
Constructs a new instance of SizeLimitExceededException using an
explanation.
|
StringRefAddr(String addrType,
String addr)
Constructs a new instance of StringRefAddr using its address type
and contents.
|
TimeLimitExceededException(String explanation)
Constructs a new instance of TimeLimitExceededException
using the argument supplied.
|
| Constructor and Description |
|---|
CompositeName(Enumeration<String> comps)
Constructs a new composite name instance using the components
specified by 'comps'.
|
CompoundName(Enumeration<String> comps,
Properties syntax)
Constructs a new compound name instance using the components
specified in comps and syntax.
|
| Modifier and Type | Field and Description |
|---|---|
private String[] |
SearchControls.attributesToReturn
Contains the list of attributes to be returned in
SearchResult for each matching entry of search.
|
protected String |
BasicAttribute.attrID
Holds the attribute's id.
|
| Modifier and Type | Method and Description |
|---|---|
String |
BasicAttribute.getID() |
String |
Attribute.getID()
Retrieves the id of this attribute.
|
String[] |
SearchControls.getReturningAttributes()
Retrieves the attributes that will be returned as part of the search.
|
String |
BasicAttributes.IDEnumImpl.next() |
String |
BasicAttributes.IDEnumImpl.nextElement() |
String |
SearchResult.toString()
Generates the string representation of this SearchResult.
|
String |
ModificationItem.toString()
Generates the string representation of this modification item,
which consists of the modification operation and its related attribute.
|
String |
BasicAttributes.toString()
Generates the string representation of this attribute set.
|
String |
BasicAttribute.toString()
Generates the string representation of this attribute.
|
String |
AttributeModificationException.toString()
The string representation of this exception consists of
information about where the error occurred, and
the first unexecuted modification.
|
| Modifier and Type | Method and Description |
|---|---|
NamingEnumeration<String> |
BasicAttributes.getIDs() |
NamingEnumeration<String> |
Attributes.getIDs()
Retrieves an enumeration of the ids of the attributes in the
attribute set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InitialDirContext.bind(String name,
Object obj,
Attributes attrs) |
void |
DirContext.bind(String name,
Object obj,
Attributes attrs)
Binds a name to an object, along with associated attributes.
|
DirContext |
InitialDirContext.createSubcontext(String name,
Attributes attrs) |
DirContext |
DirContext.createSubcontext(String name,
Attributes attrs)
Creates and binds a new context, along with associated attributes.
|
Attribute |
BasicAttributes.get(String attrID) |
Attribute |
Attributes.get(String attrID)
Retrieves the attribute with the given attribute id from the
attribute set.
|
Attributes |
InitialDirContext.getAttributes(Name name,
String[] attrIds) |
Attributes |
DirContext.getAttributes(Name name,
String[] attrIds)
Retrieves selected attributes associated with a named object.
|
Attributes |
InitialDirContext.getAttributes(String name) |
Attributes |
DirContext.getAttributes(String name)
Retrieves all of the attributes associated with a named object.
|
Attributes |
InitialDirContext.getAttributes(String name,
String[] attrIds) |
Attributes |
InitialDirContext.getAttributes(String name,
String[] attrIds) |
Attributes |
DirContext.getAttributes(String name,
String[] attrIds)
Retrieves selected attributes associated with a named object.
|
Attributes |
DirContext.getAttributes(String name,
String[] attrIds)
Retrieves selected attributes associated with a named object.
|
DirContext |
InitialDirContext.getSchema(String name) |
DirContext |
DirContext.getSchema(String name)
Retrieves the schema associated with the named object.
|
DirContext |
InitialDirContext.getSchemaClassDefinition(String name) |
DirContext |
DirContext.getSchemaClassDefinition(String name)
Retrieves a context containing the schema objects of the
named object's class definitions.
|
private DirContext |
InitialDirContext.getURLOrDefaultInitDirCtx(String name) |
void |
InitialDirContext.modifyAttributes(String name,
int mod_op,
Attributes attrs) |
void |
DirContext.modifyAttributes(String name,
int mod_op,
Attributes attrs)
Modifies the attributes associated with a named object.
|
void |
InitialDirContext.modifyAttributes(String name,
ModificationItem[] mods) |
void |
DirContext.modifyAttributes(String name,
ModificationItem[] mods)
Modifies the attributes associated with a named object using
an ordered list of modifications.
|
Attribute |
BasicAttributes.put(String attrID,
Object val) |
Attribute |
Attributes.put(String attrID,
Object val)
Adds a new attribute to the attribute set.
|
void |
InitialDirContext.rebind(String name,
Object obj,
Attributes attrs) |
void |
DirContext.rebind(String name,
Object obj,
Attributes attrs)
Binds a name to an object, along with associated attributes,
overwriting any existing binding.
|
Attribute |
BasicAttributes.remove(String attrID) |
Attribute |
Attributes.remove(String attrID)
Removes the attribute with the attribute id 'attrID' from
the attribute set.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(Name name,
Attributes matchingAttributes,
String[] attributesToReturn) |
NamingEnumeration<SearchResult> |
DirContext.search(Name name,
Attributes matchingAttributes,
String[] attributesToReturn)
Searches in a single context for objects that contain a
specified set of attributes, and retrieves selected attributes.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(Name name,
String filterExpr,
Object[] filterArgs,
SearchControls cons) |
NamingEnumeration<SearchResult> |
DirContext.search(Name name,
String filterExpr,
Object[] filterArgs,
SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(Name name,
String filter,
SearchControls cons) |
NamingEnumeration<SearchResult> |
DirContext.search(Name name,
String filter,
SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name,
Attributes matchingAttributes) |
NamingEnumeration<SearchResult> |
DirContext.search(String name,
Attributes matchingAttributes)
Searches in a single context for objects that contain a
specified set of attributes.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn) |
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn) |
NamingEnumeration<SearchResult> |
DirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn)
Searches in a single context for objects that contain a
specified set of attributes, and retrieves selected attributes.
|
NamingEnumeration<SearchResult> |
DirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn)
Searches in a single context for objects that contain a
specified set of attributes, and retrieves selected attributes.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name,
String filterExpr,
Object[] filterArgs,
SearchControls cons) |
NamingEnumeration<SearchResult> |
DirContext.search(String name,
String filterExpr,
Object[] filterArgs,
SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
NamingEnumeration<SearchResult> |
InitialDirContext.search(String name,
String filter,
SearchControls cons) |
NamingEnumeration<SearchResult> |
DirContext.search(String name,
String filter,
SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
void |
SearchControls.setReturningAttributes(String[] attrs)
Specifies the attributes that will be returned as part of the search.
|
| Constructor and Description |
|---|
AttributeInUseException(String explanation)
Constructs a new instance of AttributeInUseException with
an explanation.
|
AttributeModificationException(String explanation)
Constructs a new instance of AttributeModificationException using
an explanation.
|
BasicAttribute(String id)
Constructs a new instance of an unordered attribute with no value.
|
BasicAttribute(String id,
boolean ordered)
Constructs a new instance of a possibly ordered attribute with no value.
|
BasicAttribute(String id,
Object value)
Constructs a new instance of an unordered attribute with a single value.
|
BasicAttribute(String id,
Object value,
boolean ordered)
Constructs a new instance of a possibly ordered attribute with a
single value.
|
BasicAttributes(String attrID,
Object val)
Constructs a new instance of Attributes with one attribute.
|
BasicAttributes(String attrID,
Object val,
boolean ignoreCase)
Constructs a new instance of Attributes with one attribute.
|
InvalidAttributeIdentifierException(String explanation)
Constructs a new instance of InvalidAttributeIdentifierException using the
explanation supplied.
|
InvalidAttributesException(String explanation)
Constructs a new instance of InvalidAttributesException using an
explanation.
|
InvalidAttributeValueException(String explanation)
Constructs a new instance of InvalidAttributeValueException using
an explanation.
|
InvalidSearchControlsException(String msg)
Constructs a new instance of InvalidSearchControlsException
with an explanation.
|
InvalidSearchFilterException(String msg)
Constructs a new instance of InvalidSearchFilterException
with an explanation.
|
NoSuchAttributeException(String explanation)
Constructs a new instance of NoSuchAttributeException using
an explanation.
|
SchemaViolationException(String explanation)
Constructs a new instance of SchemaViolationException
using the explanation supplied.
|
SearchControls(int scope,
long countlim,
int timelim,
String[] attrs,
boolean retobj,
boolean deref)
Constructs a search constraints using arguments.
|
SearchResult(String name,
Object obj,
Attributes attrs)
Constructs a search result using the result's name, its bound object, and
its attributes.
|
SearchResult(String name,
Object obj,
Attributes attrs,
boolean isRelative)
Constructs a search result using the result's name, its bound object, and
its attributes, and whether the name is relative.
|
SearchResult(String name,
String className,
Object obj,
Attributes attrs)
Constructs a search result using the result's name, its class name,
its bound object, and its attributes.
|
SearchResult(String name,
String className,
Object obj,
Attributes attrs,
boolean isRelative)
Constructs a search result using the result's name, its class name,
its bound object, its attributes, and whether the name is relative.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventDirContext.addNamingListener(Name target,
String filter,
Object[] filterArgs,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired
when objects identified by the search filter filter and
filter arguments at the object named by the target are modified.
|
void |
EventDirContext.addNamingListener(Name target,
String filter,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired
when objects identified by the search filter filter at
the object named by target are modified.
|
void |
EventContext.addNamingListener(String target,
int scope,
NamingListener l)
Adds a listener for receiving naming events fired
when the object named by the string target name and scope changes.
|
void |
EventDirContext.addNamingListener(String target,
String filter,
Object[] filterArgs,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when
objects identified by the search filter filter
and filter arguments at the
object named by the string target name are modified.
|
void |
EventDirContext.addNamingListener(String target,
String filter,
SearchControls ctls,
NamingListener l)
Adds a listener for receiving naming events fired when
objects identified by the search filter filter at the
object named by the string target name are modified.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
SortKey.attrID |
private String |
SortResponseControl.badAttrId
The ID of the attribute that caused the sort to fail.
|
private static String |
InitialLdapContext.BIND_CONTROLS_PROPERTY |
private String |
Rdn.RdnEntry.comparable |
static String |
LdapContext.CONTROL_FACTORIES
Constant that holds the name of the environment property
for specifying the list of control factories to use.
|
private static String |
Rdn.escapees |
protected String |
BasicControl.id
The control's object identifier string.
|
private String |
SortKey.matchingRuleID |
private String |
Rfc2253Parser.name |
static String |
StartTlsResponse.OID
The StartTLS extended response's assigned object identifier
is 1.3.6.1.4.1.1466.20037.
|
static String |
StartTlsRequest.OID
The StartTLS extended request's assigned object identifier
is 1.3.6.1.4.1.1466.20037.
|
static String |
SortResponseControl.OID
The server-side sort response control's assigned object identifier
is 1.2.840.113556.1.4.474.
|
static String |
SortControl.OID
The server-side sort control's assigned object identifier
is 1.2.840.113556.1.4.473.
|
static String |
PagedResultsResponseControl.OID
The paged-results response control's assigned object identifier
is 1.2.840.113556.1.4.319.
|
static String |
PagedResultsControl.OID
The paged-results control's assigned object identifier
is 1.2.840.113556.1.4.319.
|
static String |
ManageReferralControl.OID
The ManageReferral control's assigned object identifier
is 2.16.840.1.113730.3.4.2.
|
private String |
Rdn.RdnEntry.type |
private String |
LdapName.unparsed |
| Modifier and Type | Method and Description |
|---|---|
private static String |
Rdn.escapeBinaryValue(byte[] val) |
private static String |
Rdn.escapeStringValue(String val) |
static String |
Rdn.escapeValue(Object val)
Given the value of an attribute, returns a string escaped according
to the rules specified in
RFC 2253.
|
String |
LdapName.get(int posn)
Retrieves a component of this LDAP name as a string.
|
String |
SortResponseControl.getAttributeID()
Retrieves the ID of the attribute that caused the sort to fail.
|
String |
SortKey.getAttributeID()
Retrieves the attribute ID of the sort key.
|
String |
StartTlsResponse.getID()
Retrieves the StartTLS response's object identifier string.
|
String |
StartTlsRequest.getID()
Retrieves the StartTLS request's object identifier string.
|
String |
ExtendedResponse.getID()
Retrieves the object identifier of the response.
|
String |
ExtendedRequest.getID()
Retrieves the object identifier of the request.
|
String |
Control.getID()
Retrieves the object identifier assigned for the LDAP control.
|
String |
BasicControl.getID()
Retrieves the control's object identifier string.
|
String |
SortKey.getMatchingRuleID()
Retrieves the matching rule ID used to order the attribute values.
|
String[] |
UnsolicitedNotification.getReferrals()
Retrieves the referral(s) sent by the server.
|
String |
Rdn.getType()
Retrieves one of this Rdn's type.
|
(package private) String |
Rdn.RdnEntry.getType() |
private String |
Rdn.RdnEntry.getValueComparable() |
private String |
Rfc2253Parser.parseAttrType() |
private String |
Rfc2253Parser.parseAttrValue() |
private String |
Rfc2253Parser.parseBinaryAttrValue() |
private String |
Rfc2253Parser.parseQuotedAttrValue() |
private String |
Rfc2253Parser.parseStringAttrValue() |
String |
Rdn.toString()
|
String |
Rdn.RdnEntry.toString() |
String |
LdapName.toString()
Returns a string representation of this LDAP name in a format
defined by RFC 2253
and described in the class description.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<String> |
LdapName.getAll()
Retrieves the components of this name as an enumeration
of strings.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
LdapName.add(int posn,
String comp)
Adds a single component at a specified position within this
LDAP name.
|
Name |
LdapName.add(String comp)
Adds a single component to the end of this LDAP name.
|
ExtendedResponse |
StartTlsRequest.createExtendedResponse(String id,
byte[] berValue,
int offset,
int length)
Creates an extended response object that corresponds to the
LDAP StartTLS extended request.
|
ExtendedResponse |
ExtendedRequest.createExtendedResponse(String id,
byte[] berValue,
int offset,
int length)
Creates the response object that corresponds to this request.
|
private static String |
Rdn.escapeStringValue(String val) |
(package private) Rdn |
Rdn.put(String type,
Object value) |
abstract void |
StartTlsResponse.setEnabledCipherSuites(String[] suites)
Overrides the default list of cipher suites enabled for use on the
TLS connection.
|
static Object |
Rdn.unescapeValue(String val)
Given an attribute value string formated according to the rules
specified in
RFC 2253,
returns the unformated value.
|
| Constructor and Description |
|---|
BasicControl(String id)
Constructs a non-critical control.
|
BasicControl(String id,
boolean criticality,
byte[] value)
Constructs a control using the supplied arguments.
|
LdapName(String name)
Constructs an LDAP name from the given distinguished name.
|
LdapName(String name,
ArrayList rdns,
int beg,
int end) |
LdapReferralException(String explanation)
Constructs a new instance of LdapReferralException using the
explanation supplied.
|
PagedResultsResponseControl(String id,
boolean criticality,
byte[] value)
Constructs a paged-results response control.
|
Rdn(String rdnString)
Constructs an Rdn from the given string.
|
Rdn(String type,
Object value)
Constructs an Rdn from the given attribute type and
value.
|
Rfc2253Parser(String name) |
SortControl(String[] sortBy,
boolean criticality)
Constructs a control to sort on a list of attributes in ascending order.
|
SortControl(String sortBy,
boolean criticality)
Constructs a control to sort on a single attribute in ascending order.
|
SortKey(String attrID)
Creates the default sort key for an attribute.
|
SortKey(String attrID,
boolean ascendingOrder,
String matchingRuleID)
Creates a sort key for an attribute.
|
SortResponseControl(String id,
boolean criticality,
byte[] value)
Constructs a control to indicate the outcome of a sort request.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
NamingManager.CPE
Constant that holds the name of the environment property into
which getContinuationContext() stores the value of its
CannotProceedException parameter.
|
private static String |
NamingManager.defaultPkgPrefix |
(package private) String |
DirContextStringPair.str |
| Modifier and Type | Method and Description |
|---|---|
String |
ContinuationContext.composeName(String name,
String prefix) |
String |
ContinuationContext.getNameInNamespace() |
(package private) String |
DirContextStringPair.getString() |
private static String |
NamingManager.getURLScheme(String str) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ContinuationContext.addToEnvironment(String propName,
Object value) |
void |
ResolveResult.appendRemainingComponent(String name)
Adds a single component to the end of remaining name.
|
void |
ContinuationContext.bind(String name,
Object newObj) |
void |
ContinuationDirContext.bind(String name,
Object obj,
Attributes attrs) |
String |
ContinuationContext.composeName(String name,
String prefix) |
Context |
ContinuationContext.createSubcontext(String name) |
DirContext |
ContinuationDirContext.createSubcontext(String name,
Attributes attrs) |
void |
ContinuationContext.destroySubcontext(String name) |
Attributes |
ContinuationDirContext.getAttributes(Name name,
String[] attrIds) |
Attributes |
ContinuationDirContext.getAttributes(String name) |
Attributes |
ContinuationDirContext.getAttributes(String name,
String[] attrIds) |
Attributes |
ContinuationDirContext.getAttributes(String name,
String[] attrIds) |
NameParser |
ContinuationContext.getNameParser(String name) |
(package private) static ObjectFactory |
NamingManager.getObjectFactoryFromReference(Reference ref,
String factoryName)
Retrieves the ObjectFactory for the object identified by a reference,
using the reference's factory class name and factory codebase
to load in the factory's class.
|
DirContext |
ContinuationDirContext.getSchema(String name) |
DirContext |
ContinuationDirContext.getSchemaClassDefinition(String name) |
protected DirContextStringPair |
ContinuationDirContext.getTargetContext(String name) |
static Context |
NamingManager.getURLContext(String scheme,
Hashtable<?,?> environment)
Creates a context for the given URL scheme id.
|
private static Object |
NamingManager.getURLObject(String scheme,
Object urlInfo,
Name name,
Context nameCtx,
Hashtable environment)
Creates an object for the given URL scheme id using
the supplied urlInfo.
|
private static String |
NamingManager.getURLScheme(String str) |
NamingEnumeration |
ContinuationContext.list(String name) |
NamingEnumeration |
ContinuationContext.listBindings(String name) |
Object |
ContinuationContext.lookup(String name) |
Object |
ContinuationContext.lookupLink(String name) |
void |
ContinuationDirContext.modifyAttributes(String name,
int mod_op,
Attributes attrs) |
void |
ContinuationDirContext.modifyAttributes(String name,
ModificationItem[] mods) |
void |
ContinuationContext.rebind(String name,
Object newObj) |
void |
ContinuationDirContext.rebind(String name,
Object obj,
Attributes attrs) |
Object |
ContinuationContext.removeFromEnvironment(String propName) |
void |
ContinuationContext.rename(String name,
String newName) |
ResolveResult |
Resolver.resolveToClass(String name,
Class<? extends Context> contextType)
Partially resolves a name.
|
ResolveResult |
ContinuationContext.resolveToClass(String name,
Class<? extends Context> contextType) |
NamingEnumeration |
ContinuationDirContext.search(Name name,
Attributes matchingAttributes,
String[] attributesToReturn) |
NamingEnumeration |
ContinuationDirContext.search(Name name,
String filterExpr,
Object[] args,
SearchControls cons) |
NamingEnumeration |
ContinuationDirContext.search(Name name,
String filter,
SearchControls cons) |
NamingEnumeration |
ContinuationDirContext.search(String name,
Attributes matchingAttributes) |
NamingEnumeration |
ContinuationDirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn) |
NamingEnumeration |
ContinuationDirContext.search(String name,
Attributes matchingAttributes,
String[] attributesToReturn) |
NamingEnumeration |
ContinuationDirContext.search(String name,
String filterExpr,
Object[] args,
SearchControls cons) |
NamingEnumeration |
ContinuationDirContext.search(String name,
String filter,
SearchControls cons) |
void |
ContinuationContext.unbind(String name) |
| Constructor and Description |
|---|
DirContextStringPair(DirContext ctx,
String str) |
ResolveResult(Object robj,
String rcomp)
Constructs a new instance of ResolveResult consisting of
the resolved object and the remaining unresolved component.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ServiceUIFactory.DIALOG_UI
Denotes a UI implemented as an AWT dialog.
|
static String |
DocFlavor.hostEncoding
A String representing the host operating system encoding.
|
static String |
ServiceUIFactory.JCOMPONENT_UI
Denotes a UI implemented as a Swing component.
|
static String |
ServiceUIFactory.JDIALOG_UI
Denotes a UI implemented as a Swing dialog.
|
private String |
DocFlavor.myClassName
Representation class name.
|
private String[] |
MimeType.myPieces
Array of strings that hold pieces of this MIME type's canonical form.
|
protected String |
MimeType.LexicalAnalyzer.mySource |
private String |
MimeType.myStringValue
String value for this MIME type.
|
private String |
DocFlavor.myStringValue
String value for this doc flavor.
|
static String |
ServiceUIFactory.PANEL_UI
Denotes a UI implemented as an AWT panel.
|
| Modifier and Type | Method and Description |
|---|---|
private static String |
MimeType.addQuotes(String s)
Returns a version of the string surrounded by quotes and with interior
quotes preceded by a backslash.
|
String |
MimeType.LexicalAnalyzer.getLexeme() |
String |
MimeType.getMediaSubtype()
Returns this MIME type object's media subtype.
|
String |
DocFlavor.getMediaSubtype()
Returns this doc flavor object's media subtype (from the MIME type).
|
String |
MimeType.getMediaType()
Returns this MIME type object's media type.
|
String |
DocFlavor.getMediaType()
Returns this doc flavor object's media type (from the MIME type).
|
String |
MimeType.getMimeType()
Returns this MIME type object's MIME type string based on the canonical
form.
|
String |
DocFlavor.getMimeType()
Returns this doc flavor object's MIME type string based on the
canonical form.
|
String |
PrintService.getName()
Returns a String name for this print service which may be used
by applications to request a particular print service.
|
abstract String |
StreamPrintServiceFactory.getOutputFormat()
Queries the factory for the document format that is emitted
by printers obtained from this factory.
|
abstract String |
StreamPrintService.getOutputFormat()
Returns the document format emitted by this print service.
|
String |
DocFlavor.getParameter(String paramName)
Returns a
String representing a MIME
parameter. |
String |
DocFlavor.getRepresentationClassName()
Returns the name of this doc flavor object's representation class.
|
private String |
MimeType.getStringValue()
Returns this MIME type's string value in canonical form.
|
private String |
DocFlavor.getStringValue()
Returns this doc flavor object's string value.
|
abstract String[] |
ServiceUIFactory.getUIClassNamesForRole(int role)
Given a UI role obtained from this factory obtain the UI
types available from this factory which implement this role.
|
private static String |
MimeType.removeBackslashes(String s)
Returns a version of the given string with backslashes removed.
|
String |
MimeType.toString()
Converts this MIME type object to a string.
|
String |
DocFlavor.toString()
Converts this
DocFlavor to a string. |
private static String |
MimeType.toUnicodeLowerCase(String s)
Returns a lowercase version of the given string.
|
| Modifier and Type | Method and Description |
|---|---|
private static String |
MimeType.addQuotes(String s)
Returns a version of the string surrounded by quotes and with interior
quotes preceded by a backslash.
|
private static ArrayList |
StreamPrintServiceFactory.getFactories(DocFlavor flavor,
String outType) |
String |
DocFlavor.getParameter(String paramName)
Returns a
String representing a MIME
parameter. |
abstract Object |
ServiceUIFactory.getUI(int role,
String ui)
Get a UI object which may be cast to the requested UI type
by the application and used in its user interface.
|
static StreamPrintServiceFactory[] |
StreamPrintServiceFactory.lookupStreamPrintServiceFactories(DocFlavor flavor,
String outputMimeType)
Locates factories for print services that can be used with
a print job to output a stream of data in the
format specified by
outputMimeType. |
private void |
MimeType.parse(String s)
Parses the given string into canonical pieces and stores the pieces in
. |
private static String |
MimeType.removeBackslashes(String s)
Returns a version of the given string with backslashes removed.
|
private static String |
MimeType.toUnicodeLowerCase(String s)
Returns a lowercase version of the given string.
|
| Constructor and Description |
|---|
DocFlavor.BYTE_ARRAY(String mimeType)
Constructs a new doc flavor with the given MIME type and a print
data representation class name of
"[B" (byte array). |
DocFlavor.CHAR_ARRAY(String mimeType)
Constructs a new doc flavor with the given MIME type and a print
data representation class name of
"[C" (character array). |
DocFlavor.INPUT_STREAM(String mimeType)
Constructs a new doc flavor with the given MIME type and a print
data representation class name of
"java.io.InputStream" (byte stream). |
DocFlavor.READER(String mimeType)
Constructs a new doc flavor with the given MIME type and a print
data representation class name of\
"java.io.Reader" (character stream). |
DocFlavor.SERVICE_FORMATTED(String className)
Constructs a new doc flavor with a MIME type of
"application/x-java-jvm-local-objectref" indicating
service formatted print data and the given print data
representation class name. |
DocFlavor.STRING(String mimeType)
Constructs a new doc flavor with the given MIME type and a print
data representation class name of
"java.lang.String". |
DocFlavor.URL(String mimeType)
Constructs a new doc flavor with the given MIME type and a print
data representation class name of
"java.net.URL". |
DocFlavor(String mimeType,
String className)
Constructs a new doc flavor object from the given MIME type and
representation class name.
|
MimeType.LexicalAnalyzer(String theSource) |
MimeType(String s)
Construct a new MIME type object from the given string.
|
PrintException(String s)
Construct a print exception with the given detail message.
|
PrintException(String s,
Exception e)
Construct a print exception with the given detail message
and chained exception.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
TextSyntax.value
String value of this text attribute.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Attribute.getName()
Get the name of the category of which this attribute value is an
instance.
|
protected String[] |
EnumSyntax.getStringTable()
Returns the string table for this enumeration value's enumeration class.
|
String |
TextSyntax.getValue()
Returns this text attribute's text string.
|
String |
URISyntax.toString()
Returns a String identifying this URI attribute.
|
String |
TextSyntax.toString()
Returns a String identifying this text attribute.
|
String |
Size2DSyntax.toString()
Returns a string version of this two-dimensional size attribute.
|
String |
SetOfIntegerSyntax.toString()
Returns a string value corresponding to this set-of-integer attribute.
|
String |
ResolutionSyntax.toString()
Returns a string version of this resolution attribute.
|
String |
IntegerSyntax.toString()
Returns a string value corresponding to this integer attribute.
|
String |
EnumSyntax.toString()
Returns a string value corresponding to this enumeration value.
|
String |
DateTimeSyntax.toString()
Returns a string value corresponding to this date-time attribute.
|
String |
Size2DSyntax.toString(int units,
String unitsName)
Returns a string version of this two-dimensional size attribute in the
given units.
|
String |
ResolutionSyntax.toString(int units,
String unitsName)
Returns a string version of this resolution attribute in the given units.
|
private static String |
TextSyntax.verify(String value) |
| Modifier and Type | Method and Description |
|---|---|
private static int[][] |
SetOfIntegerSyntax.parse(String members)
Parse the given string, returning canonical array form.
|
String |
Size2DSyntax.toString(int units,
String unitsName)
Returns a string version of this two-dimensional size attribute in the
given units.
|
String |
ResolutionSyntax.toString(int units,
String unitsName)
Returns a string version of this resolution attribute in the given units.
|
private static String |
TextSyntax.verify(String value) |
| Constructor and Description |
|---|
SetOfIntegerSyntax(String members)
Construct a new set-of-integer attribute with the given members in
string form.
|
TextSyntax(String value,
Locale locale)
Constructs a TextAttribute with the specified string and locale.
|
UnmodifiableSetException(String message)
Constructs an UnmodifiableSetException with the specified
detail message.
|
| Modifier and Type | Field and Description |
|---|---|
private static String[] |
Sides.myStringTable |
private static String[] |
SheetCollate.myStringTable |
private static String[] |
Severity.myStringTable |
private static String[] |
ReferenceUriSchemesSupported.myStringTable |
private static String[] |
PrinterStateReason.myStringTable |
private static String[] |
PrinterState.myStringTable |
private static String[] |
PrinterIsAcceptingJobs.myStringTable |
private static String[] |
PrintQuality.myStringTable |
private static String[] |
PresentationDirection.myStringTable |
private static String[] |
PDLOverrideSupported.myStringTable |
private static String[] |
OrientationRequested.myStringTable |
private static String[] |
MultipleDocumentHandling.myStringTable |
private static String[] |
MediaTray.myStringTable |
private static String[] |
MediaSizeName.myStringTable |
private static String[] |
MediaName.myStringTable |
private static String[] |
JobStateReason.myStringTable |
private static String[] |
JobState.myStringTable |
private static String[] |
JobSheets.myStringTable |
private static String[] |
Finishings.myStringTable |
private static String[] |
Fidelity.myStringTable |
private static String[] |
DialogTypeSelection.myStringTable |
private static String[] |
Compression.myStringTable |
private static String[] |
ColorSupported.myStringTable |
private static String[] |
Chromaticity.myStringTable |
| Modifier and Type | Method and Description |
|---|---|
String |
Sides.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
SheetCollate.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Severity.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
RequestingUserName.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
ReferenceUriSchemesSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
QueuedJobCount.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterURI.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterStateReasons.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterStateReason.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterState.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterResolution.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterName.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterMoreInfoManufacturer.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterMoreInfo.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterMessageFromOperator.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterMakeAndModel.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterLocation.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterIsAcceptingJobs.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrinterInfo.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PrintQuality.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PresentationDirection.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PagesPerMinuteColor.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PagesPerMinute.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PageRanges.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
PDLOverrideSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
OutputDeviceAssigned.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
OrientationRequested.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
NumberUpSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
NumberUp.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
NumberOfInterveningJobs.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
NumberOfDocuments.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
MultipleDocumentHandling.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
MediaSize.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
MediaPrintableArea.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Media.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobStateReasons.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobStateReason.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobState.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobSheets.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobPrioritySupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobPriority.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobOriginatingUserName.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobName.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobMessageFromOperator.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobMediaSheetsSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobMediaSheetsCompleted.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobMediaSheets.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobKOctetsSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobKOctetsProcessed.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobKOctets.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobImpressionsSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobImpressionsCompleted.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobImpressions.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
JobHoldUntil.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Finishings.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Fidelity.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
DocumentName.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
DialogTypeSelection.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Destination.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
DateTimeAtProcessing.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
DateTimeAtCreation.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
DateTimeAtCompleted.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
CopiesSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Copies.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Compression.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
ColorSupported.getName()
Get the name of the category of which this attribute value is an
instance.
|
String |
Chromaticity.getName()
Get the name of the category of which this attribute value is an
instance.
|
protected String[] |
Sides.getStringTable()
Returns the string table for class Sides.
|
protected String[] |
SheetCollate.getStringTable()
Returns the string table for class SheetCollate.
|
protected String[] |
Severity.getStringTable()
Returns the string table for class Severity.
|
protected String[] |
ReferenceUriSchemesSupported.getStringTable()
Returns the string table for class ReferenceUriSchemesSupported.
|
protected String[] |
PrinterStateReason.getStringTable()
Returns the string table for class PrinterStateReason.
|
protected String[] |
PrinterState.getStringTable()
Returns the string table for class PrinterState.
|
protected String[] |
PrinterIsAcceptingJobs.getStringTable()
Returns the string table for class PrinterIsAcceptingJobs.
|
protected String[] |
PrintQuality.getStringTable()
Returns the string table for class PrintQuality.
|
protected String[] |
PresentationDirection.getStringTable()
Returns the string table for class PresentationDirection.
|
protected String[] |
PDLOverrideSupported.getStringTable()
Returns the string table for class PDLOverrideSupported.
|
protected String[] |
OrientationRequested.getStringTable()
Returns the string table for class OrientationRequested.
|
protected String[] |
MultipleDocumentHandling.getStringTable()
Returns the string table for class MultipleDocumentHandling.
|
protected String[] |
MediaTray.getStringTable()
Returns the string table for class MediaTray.
|
protected String[] |
MediaSizeName.getStringTable()
Returns the string table for class MediaSizeName.
|
protected String[] |
MediaName.getStringTable()
Returns the string table for class MediaTray.
|
protected String[] |
JobStateReason.getStringTable()
Returns the string table for class JobStateReason.
|
protected String[] |
JobState.getStringTable()
Returns the string table for class JobState.
|
protected String[] |
JobSheets.getStringTable()
Returns the string table for class JobSheets.
|
protected String[] |
Finishings.getStringTable()
Returns the string table for class Finishings.
|
protected String[] |
Fidelity.getStringTable()
Returns the string table for class Fidelity.
|
protected String[] |
DialogTypeSelection.getStringTable()
Returns the string table for class DialogTypeSelection.
|
protected String[] |
Compression.getStringTable()
Returns the string table for class Compression.
|
protected String[] |
ColorSupported.getStringTable()
Returns the string table for class ColorSupported.
|
protected String[] |
Chromaticity.getStringTable()
Returns the string table for class Chromaticity.
|
String |
MediaPrintableArea.toString()
Returns a string version of this rectangular size attribute in mm.
|
String |
MediaPrintableArea.toString(int units,
String unitsName)
Returns a string version of this rectangular size attribute in the
given units.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MediaPrintableArea.toString(int units,
String unitsName)
Returns a string version of this rectangular size attribute in the
given units.
|
| Constructor and Description |
|---|
DocumentName(String documentName,
Locale locale)
Constructs a new document name attribute with the given document name
and locale.
|
JobMessageFromOperator(String message,
Locale locale)
Constructs a new job message from operator attribute with the given
message and locale.
|
JobName(String jobName,
Locale locale)
Constructs a new job name attribute with the given job name and locale.
|
JobOriginatingUserName(String userName,
Locale locale)
Constructs a new job originating user name attribute with the given
user name and locale.
|
OutputDeviceAssigned(String deviceName,
Locale locale)
Constructs a new output device assigned attribute with the given device
name and locale.
|
PageRanges(String members)
Construct a new page ranges attribute with the given members in
string form.
|
PrinterInfo(String info,
Locale locale)
Constructs a new printer info attribute with the given information
string and locale.
|
PrinterLocation(String location,
Locale locale)
Constructs a new printer location attribute with the given location and
locale.
|
PrinterMakeAndModel(String makeAndModel,
Locale locale)
Constructs a new printer make and model attribute with the given make
and model string and locale.
|
PrinterMessageFromOperator(String message,
Locale locale)
Constructs a new printer message from operator attribute with the
given message and locale.
|
PrinterName(String printerName,
Locale locale)
Constructs a new printer name attribute with the given name and locale.
|
RequestingUserName(String userName,
Locale locale)
Constructs a new requesting user name attribute with the given user
name and locale.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PrintEvent.toString() |
| Modifier and Type | Field and Description |
|---|---|
private static String |
PortableRemoteObject.PortableRemoteObjectClassKey |
| Modifier and Type | Method and Description |
|---|---|
private String |
GetORBPropertiesFileAction.getSystemProperty(String name) |
| Modifier and Type | Method and Description |
|---|---|
private static Object |
PortableRemoteObject.createDelegate(String classKey) |
private void |
GetORBPropertiesFileAction.getPropertiesFromFile(Properties props,
String fileName) |
private String |
GetORBPropertiesFileAction.getSystemProperty(String name) |
private static Class |
PortableRemoteObject.loadDelegateClass(String className) |
| Modifier and Type | Field and Description |
|---|---|
private String |
ClassDesc.codebase |
private String |
ClassDesc.repid |
private static String |
Stub.StubClassKey |
private static String |
Util.UtilClassKey |
| Modifier and Type | Method and Description |
|---|---|
String |
UtilDelegate.getCodebase(Class clz)
Delegation call for
Util.getCodebase(java.lang.Class). |
static String |
Util.getCodebase(Class clz)
Returns the codebase, if any, for the given class.
|
String |
ValueHandler.getRMIRepositoryID(Class clz)
Returns the CORBA RepositoryId for the given Java class.
|
private String |
GetORBPropertiesFileAction.getSystemProperty(String name) |
String |
Stub.toString()
Returns a string representation of this stub.
|
String |
StubDelegate.toString(Stub self)
Delegation call for
Stub.toString(). |
| Modifier and Type | Method and Description |
|---|---|
private static Object |
Util.createDelegate(String classKey) |
private static Object |
Stub.createDelegate(String classKey) |
private void |
GetORBPropertiesFileAction.getPropertiesFromFile(Properties props,
String fileName) |
private String |
GetORBPropertiesFileAction.getSystemProperty(String name) |
Class |
UtilDelegate.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Delegation call for
Util.loadClass(java.lang.String, java.lang.String, java.lang.ClassLoader). |
static Class |
Util.loadClass(String className,
String remoteCodebase,
ClassLoader loader)
Returns a class instance for the specified class.
|
private static Class |
Util.loadDelegateClass(String className) |
private static Class |
Stub.loadDelegateClass(String className) |
Serializable |
ValueHandler.readValue(InputStream in,
int offset,
Class clz,
String repositoryID,
RunTime sender)
Reads a value from the stream using Java semantics.
|
| Modifier and Type | Field and Description |
|---|---|
private String[] |
SslRMIServerSocketFactory.enabledCipherSuites |
private String[] |
SslRMIServerSocketFactory.enabledProtocols |
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
SslRMIServerSocketFactory.enabledCipherSuitesList |
private List<String> |
SslRMIServerSocketFactory.enabledProtocolsList |
| Modifier and Type | Method and Description |
|---|---|
String[] |
SslRMIServerSocketFactory.getEnabledCipherSuites()
Returns the names of the cipher suites enabled on SSL
connections accepted by server sockets created by this factory,
or
null if this factory uses the cipher suites
that are enabled by default. |
String[] |
SslRMIServerSocketFactory.getEnabledProtocols()
Returns the names of the protocol versions enabled on SSL
connections accepted by server sockets created by this factory,
or
null if this factory uses the protocol versions
that are enabled by default. |
| Modifier and Type | Method and Description |
|---|---|
Socket |
SslRMIClientSocketFactory.createSocket(String host,
int port)
Creates an SSL socket.
|
| Constructor and Description |
|---|
SslRMIServerSocketFactory(SSLContext context,
String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
Creates a new
SslRMIServerSocketFactory with the
specified SSLContext and SSL socket configuration. |
SslRMIServerSocketFactory(SSLContext context,
String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
Creates a new
SslRMIServerSocketFactory with the
specified SSLContext and SSL socket configuration. |
SslRMIServerSocketFactory(String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
Creates a new
SslRMIServerSocketFactory with
the specified SSL socket configuration. |
SslRMIServerSocketFactory(String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
Creates a new
SslRMIServerSocketFactory with
the specified SSL socket configuration. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ScriptEngine.ARGV
Reserved key for a named value that passes
an array of positional arguments to a script.
|
static String |
ScriptEngine.ENGINE
Reserved key for a named value that is
the name of the
ScriptEngine implementation. |
static String |
ScriptEngine.ENGINE_VERSION
Reserved key for a named value that identifies
the version of the
ScriptEngine implementation. |
private String |
ScriptException.fileName |
static String |
ScriptEngine.FILENAME
Reserved key for a named value that is
the name of the file being executed.
|
static String |
ScriptEngine.LANGUAGE
Reserved key for a named value that is
the full name of Scripting Language supported by the implementation.
|
static String |
ScriptEngine.LANGUAGE_VERSION
Reserved key for the named value that identifies
the version of the scripting language supported by the implementation.
|
static String |
ScriptEngine.NAME
Reserved key for a named value that identifies
the short name of the scripting language.
|
| Modifier and Type | Field and Description |
|---|---|
private HashMap<String,ScriptEngineFactory> |
ScriptEngineManager.extensionAssociations
Map of script file extension to script engine factory.
|
private Map<String,Object> |
SimpleBindings.map
The
Map field stores the attributes. |
private HashMap<String,ScriptEngineFactory> |
ScriptEngineManager.mimeTypeAssociations
Map of script script MIME type to script engine factory.
|
private HashMap<String,ScriptEngineFactory> |
ScriptEngineManager.nameAssociations
Map of engine name to script engine factory.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ScriptEngineFactory.getEngineName()
Returns the full name of the
ScriptEngine. |
String |
ScriptEngineFactory.getEngineVersion()
Returns the version of the
ScriptEngine. |
String |
ScriptException.getFileName()
Get the source of the script causing the error.
|
String |
ScriptEngineFactory.getLanguageName()
Returns the name of the scripting langauge supported by this
ScriptEngine. |
String |
ScriptEngineFactory.getLanguageVersion()
Returns the version of the scripting language supported by this
ScriptEngine. |
String |
ScriptException.getMessage()
Returns a message containing the String passed to a constructor as well as
line and column numbers and filename if any of these are known.
|
String |
ScriptEngineFactory.getMethodCallSyntax(String obj,
String m,
String... args)
Returns a String which can be used to invoke a method of a Java object using the syntax
of the supported scripting language.
|
String |
ScriptEngineFactory.getOutputStatement(String toDisplay)
Returns a String that can be used as a statement to display the specified String using
the syntax of the supported scripting language.
|
String |
ScriptEngineFactory.getProgram(String... statements)
Returns A valid scripting language executable progam with given statements.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<String,Object>> |
SimpleBindings.entrySet()
Returns a
Set view of the mappings contained in this map. |
List<String> |
ScriptEngineFactory.getExtensions()
Returns an immutable list of filename extensions, which generally identify scripts
written in the language supported by this
ScriptEngine. |
List<String> |
ScriptEngineFactory.getMimeTypes()
Returns an immutable list of mimetypes, associated with scripts that
can be executed by the engine.
|
List<String> |
ScriptEngineFactory.getNames()
Returns an immutable list of short names for the
ScriptEngine, which may be used to
identify the ScriptEngine by the ScriptEngineManager. |
Set<String> |
SimpleBindings.keySet()
Returns a
Set view of the keys contained in this map. |
| Modifier and Type | Method and Description |
|---|---|
CompiledScript |
Compilable.compile(String script)
Compiles the script (source represented as a
String) for
later execution. |
Object |
ScriptEngine.eval(String script)
Executes the specified script.
|
Object |
AbstractScriptEngine.eval(String script)
Same as
eval(Reader) except that the abstract
eval(String, ScriptContext) is used. |
Object |
ScriptEngine.eval(String script,
Bindings n)
Executes the script using the
Bindings argument as the ENGINE_SCOPE
Bindings of the ScriptEngine during the script execution. |
Object |
AbstractScriptEngine.eval(String script,
Bindings bindings)
Same as
eval(Reader, Bindings) except that the abstract
eval(String, ScriptContext) is used. |
Object |
ScriptEngine.eval(String script,
ScriptContext context)
Causes the immediate execution of the script whose source is the String
passed as the first argument.
|
Object |
ScriptEngineManager.get(String key)
Gets the value for the specified key in the Global Scope
|
Object |
ScriptEngine.get(String key)
Retrieves a value set in the state of this engine.
|
Object |
AbstractScriptEngine.get(String key)
Gets the value for the specified key in the
ENGINE_SCOPE of the
protected context field. |
Object |
SimpleScriptContext.getAttribute(String name)
Retrieves the value of the attribute with the given name in
the scope occurring earliest in the search order.
|
Object |
ScriptContext.getAttribute(String name)
Retrieves the value of the attribute with the given name in
the scope occurring earliest in the search order.
|
Object |
SimpleScriptContext.getAttribute(String name,
int scope)
Gets the value of an attribute in a given scope.
|
Object |
ScriptContext.getAttribute(String name,
int scope)
Gets the value of an attribute in a given scope.
|
int |
SimpleScriptContext.getAttributesScope(String name)
Get the lowest scope in which an attribute is defined.
|
int |
ScriptContext.getAttributesScope(String name)
Get the lowest scope in which an attribute is defined.
|
ScriptEngine |
ScriptEngineManager.getEngineByExtension(String extension)
Look up and create a
ScriptEngine for a given extension. |
ScriptEngine |
ScriptEngineManager.getEngineByMimeType(String mimeType)
Look up and create a
ScriptEngine for a given mime type. |
ScriptEngine |
ScriptEngineManager.getEngineByName(String shortName)
Looks up and creates a
ScriptEngine for a given name. |
String |
ScriptEngineFactory.getMethodCallSyntax(String obj,
String m,
String... args)
Returns a String which can be used to invoke a method of a Java object using the syntax
of the supported scripting language.
|
String |
ScriptEngineFactory.getMethodCallSyntax(String obj,
String m,
String... args)
Returns a String which can be used to invoke a method of a Java object using the syntax
of the supported scripting language.
|
String |
ScriptEngineFactory.getOutputStatement(String toDisplay)
Returns a String that can be used as a statement to display the specified String using
the syntax of the supported scripting language.
|
Object |
ScriptEngineFactory.getParameter(String key)
Returns the value of an attribute whose meaning may be implementation-specific.
|
String |
ScriptEngineFactory.getProgram(String... statements)
Returns A valid scripting language executable progam with given statements.
|
Object |
Invocable.invokeFunction(String name,
Object... args)
Used to call top-level procedures and functions defined in scripts.
|
Object |
Invocable.invokeMethod(Object thiz,
String name,
Object... args)
Calls a method on a script object compiled during a previous script execution,
which is retained in the state of the
ScriptEngine. |
Object |
SimpleBindings.put(String name,
Object value)
Sets the specified key/value in the underlying
map field. |
void |
ScriptEngineManager.put(String key,
Object value)
Sets the specified key/value pair in the Global Scope.
|
void |
ScriptEngine.put(String key,
Object value)
Sets a key/value pair in the state of the ScriptEngine that may either create
a Java Language Binding to be used in the execution of scripts or be used in some
other way, depending on whether the key is reserved.
|
Object |
Bindings.put(String name,
Object value)
Set a named value.
|
void |
AbstractScriptEngine.put(String key,
Object value)
Sets the specified value with the specified key in the
ENGINE_SCOPE
Bindings of the protected context field. |
void |
ScriptEngineManager.registerEngineExtension(String extension,
ScriptEngineFactory factory)
Registers a
ScriptEngineFactory to handle an extension. |
void |
ScriptEngineManager.registerEngineMimeType(String type,
ScriptEngineFactory factory)
Registers a
ScriptEngineFactory to handle a mime type. |
void |
ScriptEngineManager.registerEngineName(String name,
ScriptEngineFactory factory)
Registers a
ScriptEngineFactory to handle a language
name. |
Object |
SimpleScriptContext.removeAttribute(String name,
int scope)
Remove an attribute in a given scope.
|
Object |
ScriptContext.removeAttribute(String name,
int scope)
Remove an attribute in a given scope.
|
void |
SimpleScriptContext.setAttribute(String name,
Object value,
int scope)
Sets the value of an attribute in a given scope.
|
void |
ScriptContext.setAttribute(String name,
Object value,
int scope)
Sets the value of an attribute in a given scope.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleBindings.putAll(Map<? extends String,? extends Object> toMerge)
putAll is implemented using Map.putAll. |
void |
Bindings.putAll(Map<? extends String,? extends Object> toMerge)
Adds all the mappings in a given
Map to this Bindings. |
| Constructor and Description |
|---|
ScriptException(String s)
Creates a
ScriptException with a String to be used in its message. |
ScriptException(String message,
String fileName,
int lineNumber)
Creates a
ScriptException with message, filename and linenumber to
be used in error messages. |
ScriptException(String message,
String fileName,
int lineNumber,
int columnNumber)
ScriptException constructor specifying message, filename, line number
and column number. |
| Constructor and Description |
|---|
SimpleBindings(Map<String,Object> m)
Constructor uses an existing
Map to store the values. |
| Modifier and Type | Field and Description |
|---|---|
private String |
PrivateCredentialPermission.credentialClass |
(package private) String |
PrivateCredentialPermission.CredOwner.principalClass |
(package private) String |
PrivateCredentialPermission.CredOwner.principalName |
| Modifier and Type | Method and Description |
|---|---|
String |
PrivateCredentialPermission.getActions()
Returns the "canonical string representation" of the actions.
|
String |
PrivateCredentialPermission.getCredentialClass()
Returns the Class name of the Credential associated with this
PrivateCredentialPermission. |
String[][] |
PrivateCredentialPermission.getPrincipals()
Returns the
Principal classes and names
associated with this PrivateCredentialPermission. |
private static String |
SubjectDomainCombiner.printDomain(ProtectionDomain pd) |
String |
Subject.toString()
Return the String representation of this
Subject. |
String |
PrivateCredentialPermission.CredOwner.toString() |
(package private) String |
Subject.toString(boolean includePrivateCredentials)
package private convenience method to print out the Subject
without firing off a security check when trying to access
the Private Credentials
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
PrivateCredentialPermission.impliesCredentialClass(String thisC,
String thatC) |
private void |
PrivateCredentialPermission.init(String name) |
| Constructor and Description |
|---|
AuthPermission(String name)
Creates a new AuthPermission with the specified name.
|
AuthPermission(String name,
String actions)
Creates a new AuthPermission object with the specified name.
|
DestroyFailedException(String msg)
Constructs a DestroyFailedException with the specified detail
message.
|
PrivateCredentialPermission.CredOwner(String principalClass,
String principalName) |
PrivateCredentialPermission(String credentialClass,
Set<Principal> principals)
Create a new
PrivateCredentialPermission
with the specified credentialClass and Principals. |
PrivateCredentialPermission(String name,
String actions)
Creates a new
PrivateCredentialPermission
with the specified name. |
RefreshFailedException(String msg)
Constructs a RefreshFailedException with the specified detail
message.
|
| Modifier and Type | Field and Description |
|---|---|
private String[] |
ChoiceCallback.choices |
private String |
NameCallback.defaultName |
private String |
TextInputCallback.defaultText |
private String |
NameCallback.inputName |
private String |
TextInputCallback.inputText |
private String |
TextOutputCallback.message |
private String[] |
ConfirmationCallback.options |
private String |
TextInputCallback.prompt |
private String |
PasswordCallback.prompt |
private String |
NameCallback.prompt |
private String |
ConfirmationCallback.prompt |
private String |
ChoiceCallback.prompt |
| Modifier and Type | Method and Description |
|---|---|
String[] |
ChoiceCallback.getChoices()
Get the list of choices.
|
String |
NameCallback.getDefaultName()
Get the default name.
|
String |
TextInputCallback.getDefaultText()
Get the default text.
|
String |
TextOutputCallback.getMessage()
Get the message to be displayed.
|
String |
NameCallback.getName()
Get the retrieved name.
|
String[] |
ConfirmationCallback.getOptions()
Get the confirmation options.
|
String |
TextInputCallback.getPrompt()
Get the prompt.
|
String |
PasswordCallback.getPrompt()
Get the prompt.
|
String |
NameCallback.getPrompt()
Get the prompt.
|
String |
ConfirmationCallback.getPrompt()
Get the prompt.
|
String |
ChoiceCallback.getPrompt()
Get the prompt.
|
String |
TextInputCallback.getText()
Get the retrieved text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NameCallback.setName(String name)
Set the retrieved name.
|
void |
TextInputCallback.setText(String text)
Set the retrieved text.
|
| Constructor and Description |
|---|
ChoiceCallback(String prompt,
String[] choices,
int defaultChoice,
boolean multipleSelectionsAllowed)
Construct a
ChoiceCallback with a prompt,
a list of choices, a default choice, and a boolean specifying
whether or not multiple selections from the list of choices are allowed. |
ChoiceCallback(String prompt,
String[] choices,
int defaultChoice,
boolean multipleSelectionsAllowed)
Construct a
ChoiceCallback with a prompt,
a list of choices, a default choice, and a boolean specifying
whether or not multiple selections from the list of choices are allowed. |
ConfirmationCallback(int messageType,
String[] options,
int defaultOption)
Construct a
ConfirmationCallback with a
message type, a list of options and a default option. |
ConfirmationCallback(String prompt,
int messageType,
int optionType,
int defaultOption)
Construct a
ConfirmationCallback with a prompt,
message type, an option type and a default option. |
ConfirmationCallback(String prompt,
int messageType,
String[] options,
int defaultOption)
Construct a
ConfirmationCallback with a prompt,
message type, a list of options and a default option. |
ConfirmationCallback(String prompt,
int messageType,
String[] options,
int defaultOption)
Construct a
ConfirmationCallback with a prompt,
message type, a list of options and a default option. |
NameCallback(String prompt)
Construct a
NameCallback with a prompt. |
NameCallback(String prompt,
String defaultName)
Construct a
NameCallback with a prompt
and default name. |
PasswordCallback(String prompt,
boolean echoOn)
Construct a
PasswordCallback with a prompt
and a boolean specifying whether the password should be displayed
as it is being typed. |
TextInputCallback(String prompt)
Construct a
TextInputCallback with a prompt. |
TextInputCallback(String prompt,
String defaultText)
Construct a
TextInputCallback with a prompt
and default input value. |
TextOutputCallback(int messageType,
String message)
Construct a TextOutputCallback with a message type and message
to be displayed.
|
UnsupportedCallbackException(Callback callback,
String msg)
Constructs a UnsupportedCallbackException with the specified detail
message.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
ServicePermission.actions
the actions string.
|
private String |
KerberosPrincipal.fullName |
private String |
KerberosPrincipal.realm |
private String |
DelegationPermission.service |
private String |
DelegationPermission.subordinate |
| Modifier and Type | Method and Description |
|---|---|
String |
ServicePermission.getActions()
Returns the canonical string representation of the actions.
|
private static String |
ServicePermission.getActions(int mask)
Returns the "canonical string representation" of the actions in the
specified mask.
|
String |
KeyImpl.getAlgorithm() |
String |
KerberosKey.getAlgorithm()
Returns the standard algorithm name for this key.
|
private String |
KeyImpl.getAlgorithmName(int eType) |
String |
KeyImpl.getFormat() |
String |
KerberosKey.getFormat()
Returns the name of the encoding format for this secret key.
|
String |
KerberosPrincipal.getName()
The returned string corresponds to the single-string
representation of a Kerberos Principal name as specified in
Section 2.1 of RFC 1964.
|
String |
KerberosPrincipal.getRealm()
Returns the realm component of this Kerberos principal.
|
String |
KeyTab.toString() |
String |
KeyImpl.toString() |
String |
KerberosTicket.toString() |
String |
KerberosPrincipal.toString() |
String |
KerberosKey.toString() |
| Modifier and Type | Method and Description |
|---|---|
private static int |
ServicePermission.getMask(String action)
Convert an action string to an integer actions mask.
|
private void |
DelegationPermission.init(String target)
Initialize the DelegationPermission object.
|
private void |
ServicePermission.init(String servicePrincipal,
int mask)
Initialize the ServicePermission object.
|
| Constructor and Description |
|---|
DelegationPermission(String principals)
Create a new
DelegationPermission
with the specified subordinate and target principals. |
DelegationPermission(String principals,
String actions)
Create a new
DelegationPermission
with the specified subordinate and target principals. |
KerberosKey(KerberosPrincipal principal,
char[] password,
String algorithm)
Constructs a KerberosKey from a principal's password.
|
KerberosPrincipal(String name)
Constructs a KerberosPrincipal from the provided string input.
|
KerberosPrincipal(String name,
int nameType)
Constructs a KerberosPrincipal from the provided string and
name type input.
|
KeyImpl(KerberosPrincipal principal,
char[] password,
String algorithm)
Constructs a KeyImpl from a password.
|
ServicePermission(String servicePrincipal,
String action)
Create a new
ServicePermission
with the specified servicePrincipal
and action. |
| Modifier and Type | Field and Description |
|---|---|
private static String |
LoginContext.ABORT_METHOD |
private static String |
LoginContext.COMMIT_METHOD |
private String |
AppConfigurationEntry.LoginModuleControlFlag.controlFlag |
private static String |
LoginContext.DEFAULT_HANDLER |
private static String |
LoginContext.INIT_METHOD |
private static String |
LoginContext.LOGIN_METHOD |
private String |
AppConfigurationEntry.loginModuleName |
private static String |
LoginContext.LOGOUT_METHOD |
private static String |
LoginContext.OTHER |
private String |
Configuration.ConfigDelegate.type |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,?> |
AppConfigurationEntry.options |
| Modifier and Type | Method and Description |
|---|---|
String |
AppConfigurationEntry.getLoginModuleName()
Get the class name of the configured
LoginModule. |
String |
Configuration.getType()
Return the type of this Configuration.
|
String |
Configuration.ConfigDelegate.getType() |
String |
AppConfigurationEntry.LoginModuleControlFlag.toString()
Return a String representation of this controlFlag.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
AppConfigurationEntry.getOptions()
Get the options configured for this
LoginModule. |
| Modifier and Type | Method and Description |
|---|---|
private static void |
Configuration.checkPermission(String type) |
protected abstract AppConfigurationEntry[] |
ConfigurationSpi.engineGetAppConfigurationEntry(String name)
Retrieve the AppConfigurationEntries for the specified name.
|
abstract AppConfigurationEntry[] |
Configuration.getAppConfigurationEntry(String name)
Retrieve the AppConfigurationEntries for the specified name
from this Configuration.
|
AppConfigurationEntry[] |
Configuration.ConfigDelegate.getAppConfigurationEntry(String name) |
static Configuration |
Configuration.getInstance(String type,
Configuration.Parameters params)
Returns a Configuration object of the specified type.
|
static Configuration |
Configuration.getInstance(String type,
Configuration.Parameters params,
Provider provider)
Returns a Configuration object of the specified type.
|
static Configuration |
Configuration.getInstance(String type,
Configuration.Parameters params,
String provider)
Returns a Configuration object of the specified type.
|
private void |
LoginContext.init(String name) |
private void |
LoginContext.invoke(String methodName) |
private void |
LoginContext.invokePriv(String methodName)
Invokes the login, commit, and logout methods
from a LoginModule inside a doPrivileged block restricted
by creatorAcc (may be null).
|
| Constructor and Description |
|---|
AccountException(String msg)
Constructs a AccountException with the specified detail message.
|
AccountExpiredException(String msg)
Constructs a AccountExpiredException with the specified detail
message.
|
AccountLockedException(String msg)
Constructs a AccountLockedException with the specified
detail message.
|
AccountNotFoundException(String msg)
Constructs a AccountNotFoundException with the specified
detail message.
|
AppConfigurationEntry.LoginModuleControlFlag(String controlFlag) |
AppConfigurationEntry(String loginModuleName,
AppConfigurationEntry.LoginModuleControlFlag controlFlag,
Map<String,?> options)
Default constructor for this class.
|
Configuration.ConfigDelegate(ConfigurationSpi spi,
Provider p,
String type,
Configuration.Parameters params) |
CredentialException(String msg)
Constructs a CredentialException with the specified detail message.
|
CredentialExpiredException(String msg)
Constructs a CredentialExpiredException with the specified detail
message.
|
CredentialNotFoundException(String msg)
Constructs a CredentialNotFoundException with the specified
detail message.
|
FailedLoginException(String msg)
Constructs a FailedLoginException with the specified detail
message.
|
LoginContext(String name)
Instantiate a new
LoginContext object with a name. |
LoginContext(String name,
CallbackHandler callbackHandler)
Instantiate a new
LoginContext object with a name
and a CallbackHandler object. |
LoginContext(String name,
Subject subject)
Instantiate a new
LoginContext object with a name
and a Subject object. |
LoginContext(String name,
Subject subject,
CallbackHandler callbackHandler)
Instantiate a new
LoginContext object with a name,
a Subject to be authenticated, and a
CallbackHandler object. |
LoginContext(String name,
Subject subject,
CallbackHandler callbackHandler,
Configuration config)
Instantiate a new
LoginContext object with a name,
a Subject to be authenticated,
a CallbackHandler object, and a login
Configuration. |
LoginException(String msg)
Constructs a LoginException with the specified detail message.
|
| Constructor and Description |
|---|
AppConfigurationEntry(String loginModuleName,
AppConfigurationEntry.LoginModuleControlFlag controlFlag,
Map<String,?> options)
Default constructor for this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoginModule.initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
Initialize this LoginModule.
|
void |
LoginModule.initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
Initialize this LoginModule.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
X500PrivateCredential.alias |
static String |
X500Principal.CANONICAL
Canonical String format of Distinguished Names.
|
static String |
X500Principal.RFC1779
RFC 1779 String format of Distinguished Names.
|
static String |
X500Principal.RFC2253
RFC 2253 String format of Distinguished Names.
|
| Modifier and Type | Method and Description |
|---|---|
String |
X500PrivateCredential.getAlias()
Returns the KeyStore alias.
|
String |
X500Principal.getName()
Returns a string representation of the X.500 distinguished name using
the format defined in RFC 2253.
|
String |
X500Principal.getName(String format)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
String |
X500Principal.getName(String format,
Map<String,String> oidMap)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
String |
X500Principal.toString()
Return a user-friendly string representation of this
X500Principal. |
| Modifier and Type | Method and Description |
|---|---|
String |
X500Principal.getName(String format)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
String |
X500Principal.getName(String format,
Map<String,String> oidMap)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
| Modifier and Type | Method and Description |
|---|---|
String |
X500Principal.getName(String format,
Map<String,String> oidMap)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
String |
X500Principal.getName(String format,
Map<String,String> oidMap)
Returns a string representation of the X.500 distinguished name
using the specified format.
|
| Constructor and Description |
|---|
X500Principal(String name)
Creates an
X500Principal from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). |
X500Principal(String name,
Map<String,String> keywordMap)
Creates an
X500Principal from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). |
X500PrivateCredential(X509Certificate cert,
PrivateKey key,
String alias)
Creates an X500PrivateCredential that associates an X.509 certificate,
a private key and the KeyStore alias.
|
| Constructor and Description |
|---|
X500Principal(String name,
Map<String,String> keywordMap)
Creates an
X500Principal from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). |
X500Principal(String name,
Map<String,String> keywordMap)
Creates an
X500Principal from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"). |
| Modifier and Type | Field and Description |
|---|---|
private static String |
X509Certificate.X509_PROVIDER |
private static String |
X509Certificate.X509Provider |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
X509Certificate.getSigAlgName()
Gets the signature algorithm name for the certificate
signature algorithm.
|
abstract String |
X509Certificate.getSigAlgOID()
Gets the signature algorithm OID string from the certificate.
|
abstract String |
Certificate.toString()
Returns a string representation of this certificate.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the
private key that corresponds to the specified public key.
|
| Constructor and Description |
|---|
CertificateEncodingException(String message)
Constructs a CertificateEncodingException with the specified detail
message.
|
CertificateException(String msg)
Constructs a certificate exception with the given detail
message.
|
CertificateExpiredException(String message)
Constructs a CertificateExpiredException with the specified detail
message.
|
CertificateNotYetValidException(String message)
Constructs a CertificateNotYetValidException with the specified detail
message.
|
CertificateParsingException(String message)
Constructs a CertificateParsingException with the specified detail
message.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
AuthorizeCallback.authenticationID
The (authenticated) authentication id to check.
|
private String |
AuthorizeCallback.authorizationID
The authorization id to check.
|
private String |
AuthorizeCallback.authorizedID
The id of the authorized entity.
|
static String |
Sasl.CREDENTIALS
The name of a property that specifies the credentials to use.
|
static String |
Sasl.MAX_BUFFER
The name of a property that specifies the maximum size of the receive
buffer in bytes of SaslClient/SaslServer.
|
static String |
Sasl.POLICY_FORWARD_SECRECY
The name of a property that specifies whether mechanisms that implement
forward secrecy between sessions are required.
|
static String |
Sasl.POLICY_NOACTIVE
The name of a property that specifies whether
mechanisms susceptible to active (non-dictionary) attacks
are not permitted.
|
static String |
Sasl.POLICY_NOANONYMOUS
The name of a property that specifies whether mechanisms that accept
anonymous login are not permitted.
|
static String |
Sasl.POLICY_NODICTIONARY
The name of a property that specifies whether
mechanisms susceptible to passive dictionary attacks are not permitted.
|
static String |
Sasl.POLICY_NOPLAINTEXT
The name of a property that specifies
whether mechanisms susceptible to simple plain passive attacks (e.g.,
"PLAIN") are not permitted.
|
static String |
Sasl.POLICY_PASS_CREDENTIALS
The name of a property that specifies whether
mechanisms that pass client credentials are required.
|
static String |
Sasl.QOP
The name of a property that specifies the quality-of-protection to use.
|
static String |
Sasl.RAW_SEND_SIZE
The name of a property that specifies the maximum size of the raw send
buffer in bytes of SaslClient/SaslServer.
|
static String |
Sasl.REUSE
The name of a property that specifies whether to reuse previously
authenticated session information.
|
static String |
Sasl.SERVER_AUTH
The name of a property that specifies whether the
server must authenticate to the client.
|
static String |
Sasl.STRENGTH
The name of a property that specifies the cipher strength to use.
|
| Modifier and Type | Method and Description |
|---|---|
String |
AuthorizeCallback.getAuthenticationID()
Returns the authentication id to check.
|
String |
SaslServer.getAuthorizationID()
Reports the authorization ID in effect for the client of this
session.
|
String |
AuthorizeCallback.getAuthorizationID()
Returns the authorization id to check.
|
String |
AuthorizeCallback.getAuthorizedID()
Returns the id of the authorized user.
|
String |
SaslServer.getMechanismName()
Returns the IANA-registered mechanism name of this SASL server.
|
String |
SaslClient.getMechanismName()
Returns the IANA-registered mechanism name of this SASL client.
|
String[] |
SaslServerFactory.getMechanismNames(Map<String,?> props)
Returns an array of names of mechanisms that match the specified
mechanism selection policies.
|
String[] |
SaslClientFactory.getMechanismNames(Map<String,?> props)
Returns an array of names of mechanisms that match the specified
mechanism selection policies.
|
String |
SaslException.toString()
Returns the string representation of this exception.
|
| Modifier and Type | Method and Description |
|---|---|
SaslClient |
SaslClientFactory.createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslClient using the parameters supplied.
|
SaslClient |
SaslClientFactory.createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslClient using the parameters supplied.
|
static SaslClient |
Sasl.createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslClient using the parameters supplied.
|
static SaslClient |
Sasl.createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslClient using the parameters supplied.
|
SaslServer |
SaslServerFactory.createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslServer using the parameters supplied.
|
static SaslServer |
Sasl.createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslServer for the specified mechanism.
|
private static Set<Object> |
Sasl.getFactories(String serviceName) |
Object |
SaslServer.getNegotiatedProperty(String propName)
Retrieves the negotiated property.
|
Object |
SaslClient.getNegotiatedProperty(String propName)
Retrieves the negotiated property.
|
private static Object |
Sasl.loadFactory(Provider p,
String className) |
void |
AuthorizeCallback.setAuthorizedID(String id)
Sets the id of the authorized entity.
|
| Modifier and Type | Method and Description |
|---|---|
SaslClient |
SaslClientFactory.createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslClient using the parameters supplied.
|
static SaslClient |
Sasl.createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslClient using the parameters supplied.
|
SaslServer |
SaslServerFactory.createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslServer using the parameters supplied.
|
static SaslServer |
Sasl.createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
Creates a SaslServer for the specified mechanism.
|
String[] |
SaslServerFactory.getMechanismNames(Map<String,?> props)
Returns an array of names of mechanisms that match the specified
mechanism selection policies.
|
String[] |
SaslClientFactory.getMechanismNames(Map<String,?> props)
Returns an array of names of mechanisms that match the specified
mechanism selection policies.
|
| Constructor and Description |
|---|
AuthenticationException(String detail)
Constructs a new instance of AuthenticationException
with a detailed message.
|
AuthenticationException(String detail,
Throwable ex)
Constructs a new instance of AuthenticationException with a detailed message
and a root exception.
|
AuthorizeCallback(String authnID,
String authzID)
Constructs an instance of AuthorizeCallback.
|
RealmCallback(String prompt)
Constructs a RealmCallback with a prompt.
|
RealmCallback(String prompt,
String defaultRealmInfo)
Constructs a RealmCallback with a prompt and default
realm information.
|
RealmChoiceCallback(String prompt,
String[] choices,
int defaultChoice,
boolean multiple)
Constructs a RealmChoiceCallback with a prompt, a list of
choices and a default choice.
|
RealmChoiceCallback(String prompt,
String[] choices,
int defaultChoice,
boolean multiple)
Constructs a RealmChoiceCallback with a prompt, a list of
choices and a default choice.
|
SaslException(String detail)
Constructs a new instance of SaslException with a detailed message.
|
SaslException(String detail,
Throwable ex)
Constructs a new instance of SaslException with a detailed message
and a root exception.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
MidiDevice.Info.description
A description of the device.
|
private String |
SoundbankResource.name
The name of the
SoundbankResource |
private String |
Sequencer.SyncMode.name
Synchronization mode name.
|
private String |
MidiDevice.Info.name
The device's name.
|
private String |
MidiDevice.Info.vendor
The name of the company who provides the device.
|
private String |
MidiDevice.Info.version
Device version.
|
| Modifier and Type | Field and Description |
|---|---|
private HashMap<String,Object> |
MidiFileFormat.properties
The set of properties
|
| Modifier and Type | Method and Description |
|---|---|
String |
Soundbank.getDescription()
Obtains a textual description of the sound bank, suitable for display.
|
String |
MidiDevice.Info.getDescription()
Obtains the description of the device.
|
String |
SoundbankResource.getName()
Obtains the name of the resource.
|
String |
Soundbank.getName()
Obtains the name of the sound bank.
|
String |
MidiDevice.Info.getName()
Obtains the name of the device.
|
String |
Soundbank.getVendor()
Obtains a
string naming the company that provides the
sound bank |
String |
MidiDevice.Info.getVendor()
Obtains the name of the company who supplies the device.
|
String |
Soundbank.getVersion()
Obtains the version string for the sound bank.
|
String |
MidiDevice.Info.getVersion()
Obtains the version of the device.
|
String |
Sequencer.SyncMode.toString()
Provides this synchronization mode's name as the string
representation of the mode.
|
String |
MidiDevice.Info.toString()
Provides a string representation of the device information.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
MidiFileFormat.properties()
Obtain an unmodifiable map of properties.
|
| Modifier and Type | Method and Description |
|---|---|
private static MidiDevice |
MidiSystem.getNamedDevice(String deviceName,
List providers,
Class deviceClass)
Return a MidiDevice with a given name from a list of
MidiDeviceProviders.
|
private static MidiDevice |
MidiSystem.getNamedDevice(String deviceName,
List providers,
Class deviceClass,
boolean allowSynthesizer,
boolean allowSequencer)
Return a MidiDevice with a given name from a list of
MidiDeviceProviders.
|
private static MidiDevice |
MidiSystem.getNamedDevice(String deviceName,
MidiDeviceProvider provider,
Class deviceClass)
Return a MidiDevice with a given name from a given MidiDeviceProvider.
|
private static MidiDevice |
MidiSystem.getNamedDevice(String deviceName,
MidiDeviceProvider provider,
Class deviceClass,
boolean allowSynthesizer,
boolean allowSequencer)
Return a MidiDevice with a given name from a given MidiDeviceProvider.
|
private static MidiDeviceProvider |
MidiSystem.getNamedProvider(String providerClassName,
List providers)
Return a MidiDeviceProcider of a given class from the list of
MidiDeviceProviders.
|
Object |
MidiFileFormat.getProperty(String key)
Obtain the property value specified by the key.
|
| Constructor and Description |
|---|
Instrument(Soundbank soundbank,
Patch patch,
String name,
Class<?> dataClass)
Constructs a new MIDI instrument from the specified
Patch. |
InvalidMidiDataException(String message)
Constructs an
InvalidMidiDataException with the
specified detail message. |
MidiDevice.Info(String name,
String vendor,
String description,
String version)
Constructs a device info object.
|
MidiUnavailableException(String message)
Constructs a
MidiUnavailableException with the
specified detail message. |
Sequencer.SyncMode(String name)
Constructs a synchronization mode.
|
SoundbankResource(Soundbank soundBank,
String name,
Class<?> dataClass)
Constructs a new
SoundbankResource from the given sound bank
and wavetable index. |
| Constructor and Description |
|---|
MidiFileFormat(int type,
float divisionType,
int resolution,
int bytes,
long microseconds,
Map<String,Object> properties)
Construct a
MidiFileFormat with a set of properties. |
| Modifier and Type | Field and Description |
|---|---|
private String |
Mixer.Info.description
Mixer description.
|
private String |
AudioFileFormat.Type.extension
File type extension.
|
private String |
BooleanControl.falseStateLabel
The
false state label, such as "false" or "off." |
private String |
FloatControl.maxLabel
A label for the maximum value, such as "Right."
|
private String |
FloatControl.midLabel
A label for the mid-point value, such as "Center."
|
private String |
FloatControl.minLabel
A label for the minimum value, such as "Left."
|
private String |
ReverbType.name
Descriptive name of the reverb type..
|
private String |
Port.Info.name |
private String |
Mixer.Info.name
Mixer name.
|
private String |
LineEvent.Type.name
Type name.
|
private String |
Control.Type.name
Type name.
|
private String |
AudioFormat.Encoding.name
Encoding name.
|
private String |
AudioFileFormat.Type.name
File type name.
|
private String |
BooleanControl.trueStateLabel
The
true state label, such as "true" or "on." |
private String |
FloatControl.units
A label for the units in which the control values are expressed,
such as "dB" for decibels.
|
private String |
Mixer.Info.vendor
Mixer vendor.
|
private String |
Mixer.Info.version
Mixer version.
|
| Modifier and Type | Field and Description |
|---|---|
private HashMap<String,Object> |
AudioFormat.properties
The set of properties
|
private HashMap<String,Object> |
AudioFileFormat.properties
The set of properties
|
| Modifier and Type | Method and Description |
|---|---|
String |
Mixer.Info.getDescription()
Obtains the description of the mixer.
|
String |
AudioFileFormat.Type.getExtension()
Obtains the common file name extension for this file type.
|
String |
FloatControl.getMaxLabel()
Obtains the label for the maximum value, such as "Right" or "Full."
|
String |
FloatControl.getMidLabel()
Obtains the label for the mid-point value, such as "Center" or "Default."
|
String |
FloatControl.getMinLabel()
Obtains the label for the minimum value, such as "Left" or "Off."
|
String |
ReverbType.getName()
Obtains the name of this reverb type.
|
String |
Port.Info.getName()
Obtains the name of the port.
|
String |
Mixer.Info.getName()
Obtains the name of the mixer.
|
String |
BooleanControl.getStateLabel(boolean state)
Obtains the label for the specified state.
|
String |
FloatControl.getUnits()
Obtains the label for the units in which the control's values are expressed,
such as "dB" or "frames per second."
|
String |
Mixer.Info.getVendor()
Obtains the vendor of the mixer.
|
String |
Mixer.Info.getVersion()
Obtains the version of the mixer.
|
String |
ReverbType.toString()
Provides a
String representation of the reverb type,
including its name and its parameter settings. |
String |
Port.Info.toString()
Provides a
String representation
of the port. |
String |
Mixer.Info.toString()
Provides a string representation of the mixer info.
|
String |
LineEvent.toString()
Obtains a string representation of the event.
|
String |
LineEvent.Type.toString()
Returns the type name as the string representation.
|
String |
Line.Info.toString()
Obtains a textual description of the line info.
|
String |
FloatControl.toString()
Provides a string representation of the control
|
String |
EnumControl.toString()
Provides a string representation of the control.
|
String |
DataLine.Info.toString()
Obtains a textual description of the data line info.
|
String |
Control.toString()
Obtains a String describing the control type and its current state.
|
String |
Control.Type.toString()
Provides the
String representation of the control type. |
String |
CompoundControl.toString()
Provides a string representation of the control
|
String |
BooleanControl.toString()
Provides a string representation of the control
|
String |
AudioFormat.toString()
Returns a string that describes the format, such as:
"PCM SIGNED 22050 Hz 16 bit mono big-endian".
|
String |
AudioFormat.Encoding.toString()
Provides the
String representation of the encoding. |
String |
AudioFileFormat.toString()
Provides a string representation of the file format.
|
String |
AudioFileFormat.Type.toString()
Provides the file type's name as the
String representation
of the file type. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
AudioFormat.properties()
Obtain an unmodifiable map of properties.
|
Map<String,Object> |
AudioFileFormat.properties()
Obtain an unmodifiable map of properties.
|
| Modifier and Type | Method and Description |
|---|---|
private static Mixer |
AudioSystem.getNamedMixer(String mixerName,
List providers,
Line.Info info)
From a List of MixerProviders, return a Mixer with a given name.
|
private static Mixer |
AudioSystem.getNamedMixer(String mixerName,
MixerProvider provider,
Line.Info info)
Return a Mixer with a given name from a given MixerProvider.
|
private static MixerProvider |
AudioSystem.getNamedProvider(String providerClassName,
List providers)
Return a MixerProvider of a given class from the list of
MixerProviders.
|
Object |
AudioFormat.getProperty(String key)
Obtain the property value specified by the key.
|
Object |
AudioFileFormat.getProperty(String key)
Obtain the property value specified by the key.
|
| Constructor and Description |
|---|
AudioFileFormat.Type(String name,
String extension)
Constructs a file type.
|
AudioFormat.Encoding(String name)
Constructs a new encoding.
|
AudioPermission(String name)
Creates a new
AudioPermission object that has the specified
symbolic name, such as "play" or "record". |
AudioPermission(String name,
String actions)
Creates a new
AudioPermission object that has the specified
symbolic name, such as "play" or "record". |
BooleanControl.Type(String name)
Constructs a new boolean control type.
|
BooleanControl(BooleanControl.Type type,
boolean initialValue,
String trueStateLabel,
String falseStateLabel)
Constructs a new boolean control object with the given parameters.
|
CompoundControl.Type(String name)
Constructs a new compound control type.
|
Control.Type(String name)
Constructs a new control type with the name specified.
|
EnumControl.Type(String name)
Constructs a new enumerated control type.
|
FloatControl.Type(String name)
Constructs a new float control type.
|
FloatControl(FloatControl.Type type,
float minimum,
float maximum,
float precision,
int updatePeriod,
float initialValue,
String units)
Constructs a new float control object with the given parameters.
|
FloatControl(FloatControl.Type type,
float minimum,
float maximum,
float precision,
int updatePeriod,
float initialValue,
String units,
String minLabel,
String midLabel,
String maxLabel)
Constructs a new float control object with the given parameters
|
LineEvent.Type(String name)
Constructs a new event type.
|
LineUnavailableException(String message)
Constructs a
LineUnavailableException that has
the specified detail message. |
Mixer.Info(String name,
String vendor,
String description,
String version)
Constructs a mixer's info object, passing it the given
textual information.
|
Port.Info(Class<?> lineClass,
String name,
boolean isSource)
Constructs a port's info object from the information given.
|
ReverbType(String name,
int earlyReflectionDelay,
float earlyReflectionIntensity,
int lateReflectionDelay,
float lateReflectionIntensity,
int decayTime)
Constructs a new reverb type that has the specified reverberation
parameter values.
|
UnsupportedAudioFileException(String message)
Constructs a
UnsupportedAudioFileException that has
the specified detail message. |
| Constructor and Description |
|---|
AudioFileFormat(AudioFileFormat.Type type,
AudioFormat format,
int frameLength,
Map<String,Object> properties)
Construct an audio file format object with a set of
defined properties.
|
AudioFormat(AudioFormat.Encoding encoding,
float sampleRate,
int sampleSizeInBits,
int channels,
int frameSize,
float frameRate,
boolean bigEndian,
Map<String,Object> properties)
Constructs an
AudioFormat with the given parameters. |
| Modifier and Type | Method and Description |
|---|---|
String |
RowSet.getCommand()
Retrieves this
RowSet object's command property. |
String |
RowSet.getDataSourceName()
Retrieves the logical name that identifies the data source for this
RowSet object. |
String |
RowSet.getPassword()
Retrieves the password used to create a database connection.
|
String |
RowSet.getUrl()
Retrieves the url property this
RowSet object will use to
create a connection if it uses the DriverManager
instead of a DataSource object to establish the connection. |
String |
RowSet.getUsername()
Retrieves the username used to create a database connection for this
RowSet object. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<?>> |
RowSet.getTypeMap()
Retrieves the
Map object associated with this
RowSet object, which specifies the custom mapping
of SQL user-defined types, if any. |
| Modifier and Type | Method and Description |
|---|---|
Connection |
DataSource.getConnection(String username,
String password)
Attempts to establish a connection with the data source that
this
DataSource object represents. |
PooledConnection |
ConnectionPoolDataSource.getPooledConnection(String user,
String password)
Attempts to establish a physical database connection that can
be used as a pooled connection.
|
XAConnection |
XADataSource.getXAConnection(String user,
String password)
Attempts to establish a physical database connection, using the given
user name and password.
|
void |
RowSet.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
RowSet.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
RowSet.setBigDecimal(String parameterName,
BigDecimal x)
Sets the designated parameter to the given
java.math.BigDecimal value. |
void |
RowSet.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
RowSet.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
RowSet.setBlob(String parameterName,
Blob x)
Sets the designated parameter to the given
java.sql.Blob object. |
void |
RowSet.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
RowSet.setBoolean(String parameterName,
boolean x)
Sets the designated parameter to the given Java
boolean value. |
void |
RowSet.setByte(String parameterName,
byte x)
Sets the designated parameter to the given Java
byte value. |
void |
RowSet.setBytes(String parameterName,
byte[] x)
Sets the designated parameter to the given Java array of bytes.
|
void |
RowSetMetaData.setCatalogName(int columnIndex,
String catalogName)
Sets the designated column's table's catalog name, if any, to the given
String. |
void |
RowSet.setCharacterStream(String parameterName,
Reader reader)
Sets the designated parameter to the given
Reader
object. |
void |
RowSet.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
RowSet.setClob(String parameterName,
Clob x)
Sets the designated parameter to the given
java.sql.Clob object. |
void |
RowSet.setClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSetMetaData.setColumnLabel(int columnIndex,
String label)
Sets the suggested column title for use in printouts and
displays, if any, to the given
String. |
void |
RowSetMetaData.setColumnName(int columnIndex,
String columnName)
Sets the name of the designated column to the given
String. |
void |
RowSetMetaData.setColumnTypeName(int columnIndex,
String typeName)
Sets the designated column's type name that is specific to the
data source, if any, to the given
String. |
void |
RowSet.setCommand(String cmd)
Sets this
RowSet object's command property to the given
SQL query. |
void |
RowSet.setDataSourceName(String name)
Sets the data source name property for this
RowSet object to the
given String. |
void |
RowSet.setDate(String parameterName,
Date x)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
RowSet.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Date value,
using the given Calendar object. |
void |
RowSet.setDouble(String parameterName,
double x)
Sets the designated parameter to the given Java
double value. |
void |
RowSet.setFloat(String parameterName,
float x)
Sets the designated parameter to the given Java
float value. |
void |
RowSet.setInt(String parameterName,
int x)
Sets the designated parameter to the given Java
int value. |
void |
RowSet.setLong(String parameterName,
long x)
Sets the designated parameter to the given Java
long value. |
void |
RowSet.setNCharacterStream(String parameterName,
Reader value)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNCharacterStream(String parameterName,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNClob(String parameterName,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
RowSet.setNClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSet.setNString(int parameterIndex,
String value)
Sets the designated paramter to the given
String object. |
void |
RowSet.setNString(String parameterName,
String value)
Sets the designated paramter to the given
String object. |
void |
RowSet.setNull(int paramIndex,
int sqlType,
String typeName)
Sets the designated parameter in this
RowSet object's SQL
command to SQL NULL. |
void |
RowSet.setNull(String parameterName,
int sqlType)
Sets the designated parameter to SQL
NULL. |
void |
RowSet.setNull(String parameterName,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL. |
void |
RowSet.setObject(String parameterName,
Object x)
Sets the value of the designated parameter with the given object.
|
void |
RowSet.setObject(String parameterName,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object.
|
void |
RowSet.setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
Sets the value of the designated parameter with the given object.
|
void |
RowSet.setPassword(String password)
Sets the database password for this
RowSet object to
the given String. |
void |
RowSet.setRowId(String parameterName,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
void |
RowSetMetaData.setSchemaName(int columnIndex,
String schemaName)
Sets the name of the designated column's table's schema, if any, to
the given
String. |
void |
RowSet.setShort(String parameterName,
short x)
Sets the designated parameter to the given Java
short value. |
void |
RowSet.setSQLXML(String parameterName,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
RowSet.setString(int parameterIndex,
String x)
Sets the designated parameter in this
RowSet object's command
to the given Java String value. |
void |
RowSet.setString(String parameterName,
String x)
Sets the designated parameter to the given Java
String value. |
void |
RowSetMetaData.setTableName(int columnIndex,
String tableName)
Sets the designated column's table name, if any, to the given
String. |
void |
RowSet.setTime(String parameterName,
Time x)
Sets the designated parameter to the given
java.sql.Time value. |
void |
RowSet.setTime(String parameterName,
Time x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Time value,
using the given Calendar object. |
void |
RowSet.setTimestamp(String parameterName,
Timestamp x)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
RowSet.setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Timestamp value,
using the given Calendar object. |
void |
RowSet.setUrl(String url)
Sets the URL this
RowSet object will use when it uses the
DriverManager to create a connection. |
void |
RowSet.setUsername(String name)
Sets the username property for this
RowSet object to the
given String. |
| Modifier and Type | Method and Description |
|---|---|
void |
RowSet.setTypeMap(Map<String,Class<?>> map)
Installs the given
java.util.Map object as the default
type map for this RowSet object. |
| Modifier and Type | Field and Description |
|---|---|
String |
RowSetMetaDataImpl.ColInfo.catName
The field that holds the catalog name for the table from which this column
was derived.
|
String |
RowSetMetaDataImpl.ColInfo.colTypeName
The field that holds the the type name used by this particular data source
for the value stored in this column.
|
String |
RowSetMetaDataImpl.ColInfo.columnLabel
The field that holds the suggested column title for this column, to be
used in printing and displays.
|
String |
RowSetMetaDataImpl.ColInfo.columnName
The field that holds the name of this column.
|
private String |
BaseRowSet.command
The query that will be sent to the DBMS for execution when the
method
execute is called. |
private String |
BaseRowSet.dataSource
The logical name of the data source that the reader/writer should use
in order to retrieve a
DataSource object from a Java
Directory and Naming Interface (JNDI) naming service. |
private String |
BaseRowSet.password
The password the reader, writer, or both supply to the method
DriverManager.getConnection when the
DriverManager is used to get a connection. |
static String |
WebRowSet.PUBLIC_XML_SCHEMA
The public identifier for the XML Schema definition that defines the XML
tags and their valid values for a
WebRowSet implementation. |
private static String |
RowSetProvider.ROWSET_DEBUG_PROPERTY |
private static String |
RowSetProvider.ROWSET_FACTORY_IMPL |
private static String |
RowSetProvider.ROWSET_FACTORY_NAME |
static String |
WebRowSet.SCHEMA_SYSTEM_ID
The URL for the XML Schema definition file that defines the XML tags and
their valid values for a
WebRowSet implementation. |
String |
RowSetMetaDataImpl.ColInfo.schemaName
The field that holds the schema name for the table from which this column
was derived.
|
String |
RowSetMetaDataImpl.ColInfo.tableName
The field that holds the name of the table from which this column
was derived.
|
private String |
BaseRowSet.URL
The JDBC URL the reader, writer, or both supply to the method
DriverManager.getConnection when the
DriverManager is used to get a connection. |
private String |
BaseRowSet.username
The user name the reader, writer, or both supply to the method
DriverManager.getConnection when the
DriverManager is used to get a connection. |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Class<?>> |
BaseRowSet.map
The
java.util.Map object that contains entries mapping
SQL type names to classes in the Java programming language for the
custom mapping of user-defined types. |
| Modifier and Type | Method and Description |
|---|---|
String |
RowSetMetaDataImpl.getCatalogName(int columnIndex)
Retrieves the catalog name of the table from which the value
in the designated column was derived.
|
String |
RowSetMetaDataImpl.getColumnClassName(int columnIndex)
Retrieves the fully-qualified name of the class in the Java
programming language to which a value in the designated column
will be mapped.
|
String |
RowSetMetaDataImpl.getColumnLabel(int columnIndex)
Retrieves the the suggested column title for the designated
column for use in printouts and displays.
|
String |
RowSetMetaDataImpl.getColumnName(int columnIndex)
Retrieves the name of the designated column.
|
String |
RowSetMetaDataImpl.getColumnTypeName(int columnIndex)
Retrieves the DBMS-specific type name for values stored in the
designated column.
|
String |
BaseRowSet.getCommand()
Retrieves the SQL query that is the command for this
RowSet object. |
String |
BaseRowSet.getDataSourceName()
Returns the logical name that when supplied to a naming service
that uses the Java Naming and Directory Interface (JNDI) API, will
retrieve a
javax.sql.DataSource object. |
String[] |
Joinable.getMatchColumnNames()
Retrieves the names of the match columns that were set for this
RowSet object with the method
setMatchColumn(String [] columnNames). |
String |
BaseRowSet.getPassword()
Returns the password used to create a database connection for this
RowSet object. |
String[] |
JoinRowSet.getRowSetNames()
Returns a
String array containing the names of the
RowSet objects added to this JoinRowSet
object. |
String |
RowSetMetaDataImpl.getSchemaName(int columnIndex)
Retrieves the schema name of the table from which the value
in the designated column was derived.
|
private static String |
RowSetProvider.getSystemProperty(String propName)
Returns the requested System Property.
|
String |
CachedRowSet.getTableName()
Returns an identifier for the object (table) that was used to
create this
CachedRowSet object. |
String |
RowSetMetaDataImpl.getTableName(int columnIndex)
Retrieves the name of the table from which the value
in the designated column was derived.
|
String |
BaseRowSet.getUrl()
Retrieves the JDBC URL that this
RowSet object's
javax.sql.Reader object uses to make a connection
with a relational database using a JDBC technology-enabled driver. |
String |
BaseRowSet.getUsername()
Returns the user name used to create a database connection.
|
String |
JoinRowSet.getWhereClause()
Return a SQL-like description of the WHERE clause being used
in a JoinRowSet object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<?>> |
BaseRowSet.getTypeMap()
Retrieves the type map associated with the
Connection
object for this RowSet object. |
| Modifier and Type | Method and Description |
|---|---|
void |
JoinRowSet.addRowSet(RowSet[] rowset,
String[] columnName)
Adds one or more
RowSet objects contained in the given
array of RowSet objects to this JoinRowSet
object and sets the match column for
each of the RowSet objects to the match columns
in the given array of column names. |
void |
JoinRowSet.addRowSet(RowSet rowset,
String columnName)
Adds rowset to this
JoinRowSet object and
sets the designated column as the match column. |
boolean |
CachedRowSet.columnUpdated(String columnName)
Indicates whether the designated column in the current row of this
CachedRowSet object has been updated. |
boolean |
Predicate.evaluate(Object value,
String columnName)
This method is called by the
FilteredRowSet object
to check whether the value lies between the filtering criteria set
using the setFilter method. |
private static Class |
RowSetProvider.getFactoryClass(String factoryClassName,
ClassLoader cl,
boolean doFallback)
Attempt to load a class using the class loader supplied.
|
private static String |
RowSetProvider.getSystemProperty(String propName)
Returns the requested System Property.
|
static RowSetFactory |
RowSetProvider.newFactory(String factoryClassName,
ClassLoader cl)
Creates a new instance of a
RowSetFactory from the
specified factory class name. |
void |
BaseRowSet.setAsciiStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
BaseRowSet.setAsciiStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
BaseRowSet.setBigDecimal(String parameterName,
BigDecimal x)
Sets the designated parameter to the given
java.math.BigDecimal value. |
void |
BaseRowSet.setBinaryStream(String parameterName,
InputStream x)
Sets the designated parameter to the given input stream.
|
void |
BaseRowSet.setBinaryStream(String parameterName,
InputStream x,
int length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
BaseRowSet.setBlob(String parameterName,
Blob x)
Sets the designated parameter to the given
java.sql.Blob object. |
void |
BaseRowSet.setBlob(String parameterName,
InputStream inputStream)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBlob(String parameterName,
InputStream inputStream,
long length)
Sets the designated parameter to a
InputStream object. |
void |
BaseRowSet.setBoolean(String parameterName,
boolean x)
Sets the designated parameter to the given Java
boolean value. |
void |
BaseRowSet.setByte(String parameterName,
byte x)
Sets the designated parameter to the given Java
byte value. |
void |
BaseRowSet.setBytes(String parameterName,
byte[] x)
Sets the designated parameter to the given Java array of bytes.
|
void |
RowSetMetaDataImpl.setCatalogName(int columnIndex,
String catalogName)
Sets the catalog name of the table from which the designated
column was derived to catalogName.
|
void |
BaseRowSet.setCharacterStream(String parameterName,
Reader reader)
Sets the designated parameter to the given
Reader
object. |
void |
BaseRowSet.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the designated parameter to the given
Reader
object, which is the given number of characters long. |
void |
BaseRowSet.setClob(String parameterName,
Clob x)
Sets the designated parameter to the given
java.sql.Clob object. |
void |
BaseRowSet.setClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
RowSetMetaDataImpl.setColumnLabel(int columnIndex,
String label)
Sets the suggested column label for use in printouts and
displays, if any, to label.
|
void |
RowSetMetaDataImpl.setColumnName(int columnIndex,
String columnName)
Sets the column name of the designated column to the given name.
|
void |
RowSetMetaDataImpl.setColumnTypeName(int columnIndex,
String typeName)
Sets the type name used by the data source for values stored in the
designated column to the given type name.
|
void |
BaseRowSet.setCommand(String cmd)
Sets this
RowSet object's command property to
the given String object and clears the parameters, if any,
that were set for the previous command. |
void |
BaseRowSet.setDataSourceName(String name)
Sets the
DataSource name property for this RowSet
object to the given logical name and sets this RowSet object's
Url property to null. |
void |
BaseRowSet.setDate(String parameterName,
Date x)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
BaseRowSet.setDate(String parameterName,
Date x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Date value,
using the given Calendar object. |
void |
BaseRowSet.setDouble(String parameterName,
double x)
Sets the designated parameter to the given Java
double value. |
void |
BaseRowSet.setFloat(String parameterName,
float x)
Sets the designated parameter to the given Java
float value. |
void |
BaseRowSet.setInt(String parameterName,
int x)
Sets the designated parameter to the given Java
int value. |
void |
BaseRowSet.setLong(String parameterName,
long x)
Sets the designated parameter to the given Java
long value. |
void |
Joinable.setMatchColumn(String columnName)
Sets the designated column as the match column for this
RowSet
object. |
void |
Joinable.setMatchColumn(String[] columnNames)
Sets the designated columns as the match column for this
RowSet
object. |
void |
BaseRowSet.setNCharacterStream(String parameterName,
Reader value)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNCharacterStream(String parameterName,
Reader value,
long length)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNClob(String parameterName,
NClob value)
Sets the designated parameter to a
java.sql.NClob object. |
void |
BaseRowSet.setNClob(String parameterName,
Reader reader)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNClob(String parameterName,
Reader reader,
long length)
Sets the designated parameter to a
Reader object. |
void |
BaseRowSet.setNString(int parameterIndex,
String value)
Sets the designated paramter to the given
String object. |
void |
BaseRowSet.setNString(String parameterName,
String value)
Sets the designated paramter to the given
String object. |
void |
BaseRowSet.setNull(int parameterIndex,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL. |
void |
BaseRowSet.setNull(String parameterName,
int sqlType)
Sets the designated parameter to SQL
NULL. |
void |
BaseRowSet.setNull(String parameterName,
int sqlType,
String typeName)
Sets the designated parameter to SQL
NULL. |
void |
BaseRowSet.setObject(String parameterName,
Object x)
Sets the value of the designated parameter with the given object.
|
void |
BaseRowSet.setObject(String parameterName,
Object x,
int targetSqlType)
Sets the value of the designated parameter with the given object.
|
void |
BaseRowSet.setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
Sets the value of the designated parameter with the given object.
|
void |
BaseRowSet.setPassword(String pass)
Sets the password used to create a database connection for this
RowSet object to the given String
object. |
void |
BaseRowSet.setRowId(String parameterName,
RowId x)
Sets the designated parameter to the given
java.sql.RowId object. |
void |
RowSetMetaDataImpl.setSchemaName(int columnIndex,
String schemaName)
Sets the designated column's table's schema name, if any, to
schemaName.
|
void |
BaseRowSet.setShort(String parameterName,
short x)
Sets the designated parameter to the given Java
short value. |
void |
BaseRowSet.setSQLXML(String parameterName,
SQLXML xmlObject)
Sets the designated parameter to the given
java.sql.SQLXML object. |
void |
BaseRowSet.setString(int parameterIndex,
String x)
Sets the designated parameter to the given
String
value. |
void |
BaseRowSet.setString(String parameterName,
String x)
Sets the designated parameter to the given Java
String value. |
void |
CachedRowSet.setSyncProvider(String provider)
Sets the
SyncProvider objec for this CachedRowSet
object to the one specified. |
void |
RowSetMetaDataImpl.setTableName(int columnIndex,
String tableName)
Sets the name of the table from which the designated column
was derived to the given table name.
|
void |
CachedRowSet.setTableName(String tabName)
Sets the identifier for the table from which this
CachedRowSet
object was derived to the given table name. |
void |
BaseRowSet.setTime(String parameterName,
Time x)
Sets the designated parameter to the given
java.sql.Time value. |
void |
BaseRowSet.setTime(String parameterName,
Time x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Time value,
using the given Calendar object. |
void |
BaseRowSet.setTimestamp(String parameterName,
Timestamp x)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
BaseRowSet.setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
Sets the designated parameter to the given
java.sql.Timestamp value,
using the given Calendar object. |
void |
BaseRowSet.setUrl(String url)
Sets the Url property for this
RowSet object
to the given String object and sets the dataSource name
property to null. |
void |
BaseRowSet.setUsername(String name)
Sets the username property for this
RowSet object
to the given user name. |
Collection<?> |
CachedRowSet.toCollection(String column)
Converts the designated column in this
CachedRowSet object
to a Collection object. |
private static void |
RowSetProvider.trace(String msg)
Debug routine which will output tracing if the System Property
-Djavax.sql.rowset.RowSetFactory.debug is set
|
void |
Joinable.unsetMatchColumn(String columnName)
Unsets the designated column as the match column for this
RowSet
object. |
void |
Joinable.unsetMatchColumn(String[] columnName)
Unsets the designated columns as the match columns for this
RowSet
object. |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseRowSet.setTypeMap(Map<String,Class<?>> map)
Installs the given
java.util.Map object as the type map
associated with the Connection object for this
RowSet object. |
| Constructor and Description |
|---|
RowSetWarning(String reason)
Constructs a
RowSetWarning object
with the given value for the reason; SQLState defaults to null,
and vendorCode defaults to 0. |
RowSetWarning(String reason,
String SQLState)
Constructs a
RowSetWarning object initialized with the
given values for the reason and SQLState. |
RowSetWarning(String reason,
String SQLState,
int vendorCode)
Constructs a fully specified
RowSetWarning object initialized
with the given values for the reason, SQLState and vendorCode. |
| Modifier and Type | Field and Description |
|---|---|
private String |
SerialRef.baseTypeName
String containing the base type name.
|
private String |
SerialDatalink.baseTypeName
The type name used by the DBMS for the elements in the SQL
DATALINK value that this SerialDatalink object
represents. |
private String |
SerialArray.baseTypeName
The type name used by the DBMS for the elements in the SQL
ARRAY
value that this SerialArray object represents. |
private String |
SerialStruct.SQLTypeName
The SQL type name for the structured type that this
SerialStruct object represents. |
| Modifier and Type | Method and Description |
|---|---|
String |
SerialRef.getBaseTypeName()
Returns a string describing the base type name of the
Ref. |
String |
SerialArray.getBaseTypeName()
Retrieves the DBMS-specific type name for the elements in this
SerialArray object. |
String |
SerialStruct.getSQLTypeName()
Retrieves the SQL type name for this
SerialStruct
object. |
String |
SerialClob.getSubString(long pos,
int length)
Returns a copy of the substring contained in this
SerialClob object, starting at the given position
and continuing for the specified number or characters. |
String |
SQLInputImpl.readNString()
Reads the next attribute in the stream and returns it as a
String
in the Java programming language. |
String |
SQLInputImpl.readString()
Retrieves the next attribute in this
SQLInputImpl object as
a String in the Java programming language. |
| Modifier and Type | Method and Description |
|---|---|
long |
SerialClob.position(String searchStr,
long start)
Returns the position in this
SerialClob object
where the given String object begins, starting
the search at the specified position. |
int |
SerialClob.setString(long pos,
String str)
Writes the given Java
String to the CLOB
value that this SerialClob object represents, at the position
pos. |
int |
SerialClob.setString(long pos,
String str,
int offset,
int length)
Writes
len characters of str, starting
at character offset, to the CLOB value
that this Clob represents. |
void |
SQLOutputImpl.writeNString(String x)
Writes the next attribute to the stream as a
String
in the Java programming language. |
void |
SQLOutputImpl.writeString(String x)
Writes a
String in the Java programming language
to this SQLOutputImpl object. |
| Modifier and Type | Method and Description |
|---|---|
Object |
SerialArray.getArray(long index,
int count,
Map<String,Class<?>> map)
Returns a new array that is a copy of a slice
of this
SerialArray object, starting with the
element at the given index and containing the given number
of consecutive elements. |
Object |
SerialArray.getArray(Map<String,Class<?>> map)
Returns a new array that is a copy of this
SerialArray
object, using the given type map for the custom
mapping of each element when the elements are SQL UDTs. |
Object[] |
SerialStruct.getAttributes(Map<String,Class<?>> map)
Retrieves the attributes for the SQL structured type that
this
SerialStruct represents as an array of
Object values, using the given type map for
custom mapping if appropriate. |
Object |
SerialRef.getObject(Map<String,Class<?>> map)
Returns an
Object representing the SQL structured type
to which this SerialRef object refers. |
ResultSet |
SerialArray.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Retrieves a result set holding the elements of the subarray that starts at
Retrieves a
ResultSet object that contains a subarray of the
elements in this SerialArray object, starting at
index index and containing up to count successive
elements. |
ResultSet |
SerialArray.getResultSet(Map<String,Class<?>> map)
Retrieves a
ResultSet object that contains all of
the elements of the SQL ARRAY
value represented by this SerialArray object. |
| Constructor and Description |
|---|
SerialException(String msg)
Creates a new
SerialException with the
specified message. |
| Constructor and Description |
|---|
SerialArray(Array array,
Map<String,Class<?>> map)
Constructs a new
SerialArray object from the given
Array object, using the given type map for the custom
mapping of each element when the elements are SQL UDTs. |
SerialStruct(SQLData in,
Map<String,Class<?>> map)
Constructs a
SerialStruct object from the
given SQLData object, using the given type
map to custom map it to a class in the Java programming
language. |
SerialStruct(Struct in,
Map<String,Class<?>> map)
Constructs a
SerialStruct object from the given
Struct object, using the given java.util.Map
object for custom mapping the SQL structured type or any of its
attributes that are SQL structured types. |
SQLInputImpl(Object[] attributes,
Map<String,Class<?>> map)
Creates an
SQLInputImpl object initialized with the
given array of attributes and the given type map. |
SQLOutputImpl(Vector<?> attributes,
Map<String,?> map)
Creates a new
SQLOutputImpl object
initialized with the given vector of attributes and
type map. |
| Modifier and Type | Field and Description |
|---|---|
private String |
ProviderImpl.className |
private static String |
SyncFactory.colon |
private static String |
SyncFactory.default_provider
The RI Optimistic Provider.
|
private static String |
SyncFactory.ROWSET_PROPERTIES
The standard resource file name.
|
static String |
SyncFactory.ROWSET_SYNC_PROVIDER
The standard property-id for a synchronization provider implementation
name.
|
static String |
SyncFactory.ROWSET_SYNC_PROVIDER_VERSION
The standard property-id for a synchronization provider implementation
version tag.
|
static String |
SyncFactory.ROWSET_SYNC_VENDOR
The standard property-id for a synchronization provider implementation
vendor name.
|
private static String |
SyncFactory.strFileSep |
private String |
ProviderImpl.vendorName |
private String |
ProviderImpl.ver |
| Modifier and Type | Method and Description |
|---|---|
String |
ProviderImpl.getClassname() |
private static String[] |
SyncFactory.getPropertyNames(boolean append)
Used by the parseProperties methods to disassemble each property tuple.
|
private static String[] |
SyncFactory.getPropertyNames(boolean append,
String propertyIndex)
Disassembles each property and its associated value.
|
abstract String |
SyncProvider.getProviderID()
Returns the unique identifier for this
SyncProvider object. |
String |
ProviderImpl.getProviderID() |
abstract String |
SyncProvider.getVendor()
Returns the vendor name of this
SyncProvider instance |
String |
ProviderImpl.getVendor() |
abstract String |
SyncProvider.getVersion()
Returns the release version of this
SyncProvider instance. |
String |
ProviderImpl.getVersion() |
| Modifier and Type | Method and Description |
|---|---|
Object |
SyncResolver.getConflictValue(String columnName)
Retrieves the value in the designated column in the current row of this
SyncResolver object, which is the value in the data source
that caused a conflict. |
static SyncProvider |
SyncFactory.getInstance(String providerID)
Returns the
SyncProvider instance identified by providerID. |
private static String[] |
SyncFactory.getPropertyNames(boolean append,
String propertyIndex)
Disassembles each property and its associated value.
|
static void |
SyncFactory.registerProvider(String providerID)
Adds the the given synchronization provider to the factory register.
|
void |
ProviderImpl.setClassname(String classname) |
void |
SyncResolver.setResolvedValue(String columnName,
Object obj)
Sets obj as the value in column columnName in the current row of the
RowSet object that is being synchronized. |
void |
ProviderImpl.setVendor(String vendor) |
void |
ProviderImpl.setVersion(String providerVer) |
static void |
SyncFactory.unregisterProvider(String providerID)
Removes the designated currently registered synchronization provider from the
Factory SPI register.
|
| Constructor and Description |
|---|
SyncFactoryException(String msg)
Constructs an
SyncFactoryException with the specified
detail message. |
SyncProviderException(String msg)
Constructs a
SyncProviderException object with the specified
detail message. |
| Modifier and Type | Field and Description |
|---|---|
static String |
Action.ACCELERATOR_KEY
The key used for storing a
KeyStroke to be used as the
accelerator for the action. |
static String |
JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
Identifies whether a the AcceptAllFileFilter is used or not.
|
static String |
JFileChooser.ACCESSORY_CHANGED_PROPERTY
Says that a different accessory component is in use
(for example, to preview files).
|
static String |
Action.ACTION_COMMAND_KEY
The key used to determine the command
String for the
ActionEvent that will be created when an
Action is going to be notified as the result of
residing in a Keymap associated with a
JComponent. |
private String |
Timer.actionCommand |
protected String |
JComboBox.actionCommand
This protected field is implementation specific.
|
protected String |
DefaultButtonModel.actionCommand
The action command string fired by the button.
|
private static String[] |
SpringLayout.ALL_HORIZONTAL |
private static String[] |
SpringLayout.ALL_VERTICAL |
static String |
JTree.ANCHOR_SELECTION_PATH_PROPERTY
Bound property name for anchor selection path.
|
(package private) static String |
UIDefaults.TextAndMnemonicHashMap.AND_MNEMONIC |
static String |
JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
Identifies change in the mnemonic for the approve (yes, ok) button.
|
static String |
JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
Identifies change in the text on the approve (yes, ok) button.
|
static String |
JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
Identifies change in the tooltip text for the approve (yes, ok)
button.
|
static String |
JFileChooser.APPROVE_SELECTION
Instruction to approve the current selection
(same as pressing yes or ok).
|
private String |
JFileChooser.approveButtonText |
private String |
JFileChooser.approveButtonToolTipText |
private static String |
UIManager.auxiliaryLAFsKey |
static String |
SpringLayout.BASELINE
Specifies the baseline of a component.
|
static String |
AbstractButton.BORDER_PAINTED_CHANGED_PROPERTY
Identifies a change to having the border drawn,
or having it not drawn.
|
static String |
JCheckBox.BORDER_PAINTED_FLAT_CHANGED_PROPERTY
Identifies a change to the flat property.
|
static String |
JSplitPane.BOTTOM
Used to add a
Component below the other
Component. |
static String |
JFileChooser.CANCEL_SELECTION
Instruction to cancel the current selection.
|
static String |
JTree.CELL_EDITOR_PROPERTY
Bound property name for
cellEditor. |
static String |
JTree.CELL_RENDERER_PROPERTY
Bound property name for
cellRenderer. |
static String |
JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
Identifies a change in the list of predefined file filters
the user can choose from.
|
static String |
JColorChooser.CHOOSER_PANELS_PROPERTY
The chooserPanel array property name.
|
private String |
UIManager.LookAndFeelInfo.className |
private String |
UIDefaults.ProxyLazyValue.className |
static String |
ScrollPaneConstants.COLUMN_HEADER
Identifies the area at the top the viewport between the
upper left corner and the upper right corner.
|
private String |
JTextField.command |
private String |
JComponent.ActionStandin.command |
static String |
AbstractButton.CONTENT_AREA_FILLED_CHANGED_PROPERTY
Identifies a change to having the button paint the content area.
|
static String |
JInternalFrame.CONTENT_PANE_PROPERTY
Bound property name.
|
static String |
JSplitPane.CONTINUOUS_LAYOUT_PROPERTY
Bound property name for continuousLayout.
|
static String |
JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
Instruction to display the control buttons.
|
static String |
Action.DEFAULT
Not currently used.
|
private static String |
UIManager.defaultLAFKey |
private static String |
JComponent.defaultLocale
Key used to store the default locale in an AppContext
|
(package private) String |
ImageIcon.description |
static String |
JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY
Identifies a change in the dialog title.
|
static String |
JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY
Identifies a change in the type of files displayed (files only,
directories only, or both files and directories).
|
private String |
JFileChooser.dialogTitle |
static String |
JFileChooser.DIRECTORY_CHANGED_PROPERTY
Identifies user's directory change.
|
static String |
AbstractButton.DISABLED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has
been disabled.
|
static String |
AbstractButton.DISABLED_SELECTED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has been
disabled and selected.
|
private static String |
UIManager.disableMnemonicKey |
static String |
Action.DISPLAYED_MNEMONIC_INDEX_KEY
The key used for storing an
Integer that corresponds
to the index in the text (identified by the NAME
property) that the decoration for a mnemonic should be rendered at. |
static String |
JSplitPane.DIVIDER
Used to add a
Component that will represent the divider. |
static String |
JSplitPane.DIVIDER_LOCATION_PROPERTY
Bound property for the dividerLocation.
|
static String |
JSplitPane.DIVIDER_SIZE_PROPERTY
Bound property name for border.
|
static String |
SpringLayout.EAST
Specifies the right edge of a component's bounding rectangle.
|
private String |
SpringLayout.SpringProxy.edgeName |
static String |
JTree.EDITABLE_PROPERTY
Bound property name for
editable. |
static String |
JTree.EXPANDS_SELECTED_PATHS_PROPERTY
Bound property name for expands selected paths property
|
static String |
JFileChooser.FILE_FILTER_CHANGED_PROPERTY
User changed the kind of files to display.
|
static String |
JFileChooser.FILE_HIDING_CHANGED_PROPERTY
Identifies a change in the display-hidden-files property.
|
static String |
JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY
Identifies a change in the kind of selection (single,
multiple, etc.).
|
static String |
JFileChooser.FILE_SYSTEM_VIEW_CHANGED_PROPERTY
Says that a different object is being used to find available drives
on the system.
|
static String |
JFileChooser.FILE_VIEW_CHANGED_PROPERTY
Says that a different object is being used to retrieve file
information.
|
private String |
ImageIcon.filename |
static String |
FocusManager.FOCUS_MANAGER_CLASS_PROPERTY
This field is obsolete, and its use is discouraged since its
specification is incompatible with the 1.4 focus APIs.
|
static String |
AbstractButton.FOCUS_PAINTED_CHANGED_PROPERTY
Identifies a change to having the border highlighted when focused,
or not.
|
static String |
JInternalFrame.FRAME_ICON_PROPERTY
Bound property name.
|
static String |
JInternalFrame.GLASS_PANE_PROPERTY
Bound property name.
|
(package private) static String |
DefaultDesktopManager.HAS_BEEN_ICONIFIED_PROPERTY |
static String |
SpringLayout.HEIGHT
Specifies the height of a component's bounding rectangle.
|
static String |
JEditorPane.HONOR_DISPLAY_PROPERTIES
Key for a client property used to indicate whether
the default font and foreground color from the component are
used if a font or foreground color is not specified in the styled
text.
|
static String |
AbstractButton.HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY
Identifies a change in the button's horizontal alignment.
|
static String |
SpringLayout.HORIZONTAL_CENTER
Specifies the horizontal center of a component's bounding rectangle.
|
static String |
ScrollPaneConstants.HORIZONTAL_SCROLLBAR
Identifies a horizonal scrollbar.
|
static String |
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_POLICY
Identifies the horizontal scroll bar policy property.
|
static String |
AbstractButton.HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY
Identifies a change in the button's horizontal text position.
|
static String |
AbstractButton.ICON_CHANGED_PROPERTY
Identifies a change to the icon that represents the button.
|
static String |
JOptionPane.ICON_PROPERTY
Bound property name for
icon. |
static String |
JOptionPane.INITIAL_SELECTION_VALUE_PROPERTY
Bound property name for
initialSelectionValue. |
static String |
JOptionPane.INITIAL_VALUE_PROPERTY
Bound property name for
initialValue. |
static String |
JOptionPane.INPUT_VALUE_PROPERTY
Bound property name for
inputValue. |
private static String |
UIManager.installedLAFsKey |
static String |
JTree.INVOKES_STOP_CELL_EDITING_PROPERTY
Bound property name for
messagesStopCellEditing. |
static String |
JInternalFrame.IS_CLOSED_PROPERTY
Constrained property name indicating that the internal frame is closed.
|
static String |
JInternalFrame.IS_ICON_PROPERTY
Constrained property name indicating that the internal frame is iconified.
|
static String |
JInternalFrame.IS_MAXIMUM_PROPERTY
Constrained property name indicating that the internal frame is maximized.
|
static String |
JInternalFrame.IS_SELECTED_PROPERTY
Constrained property name indicated that this frame has
selected status.
|
private static String |
JComponent.KEYBOARD_BINDINGS_KEY
The key used by
JComponent to access keyboard bindings. |
private String |
JPopupMenu.label |
(package private) static String |
JLabel.LABELED_BY_PROPERTY
Client property key used to determine what label is labeling the
component.
|
static String |
Action.LARGE_ICON_KEY
The key used for storing an
Icon. |
static String |
JTree.LARGE_MODEL_PROPERTY
Bound property name for
largeModel. |
static String |
JSplitPane.LAST_DIVIDER_LOCATION_PROPERTY
Bound property for lastLocation.
|
static String |
JLayeredPane.LAYER_PROPERTY
Bound property
|
static String |
JInternalFrame.LAYERED_PANE_PROPERTY
Bound property name.
|
static String |
JTree.LEAD_SELECTION_PATH_PROPERTY
Bound property name for
leadSelectionPath. |
static String |
JSplitPane.LEFT
Used to add a
Component to the left of the other
Component. |
static String |
Action.LONG_DESCRIPTION
The key used for storing a longer
String
description for the action, could be used for context-sensitive help. |
static String |
ScrollPaneConstants.LOWER_LEADING_CORNER
Identifies the lower leading edge corner of the viewport.
|
static String |
ScrollPaneConstants.LOWER_LEFT_CORNER
Identifies the lower left corner of the viewport.
|
static String |
ScrollPaneConstants.LOWER_RIGHT_CORNER
Identifies the lower right corner of the viewport.
|
static String |
ScrollPaneConstants.LOWER_TRAILING_CORNER
Identifies the lower trailing edge corner of the viewport.
|
static String |
AbstractButton.MARGIN_CHANGED_PROPERTY
Identifies a change in the button's margins.
|
static String |
JInternalFrame.MENU_BAR_PROPERTY
Bound property name.
|
static String |
JOptionPane.MESSAGE_PROPERTY
Bound property name for
message. |
static String |
JOptionPane.MESSAGE_TYPE_PROPERTY
Bound property name for
type. |
private String |
UIDefaults.ProxyLazyValue.methodName |
private String |
JOptionPane.ModalPrivilegedAction.methodName |
static String |
AbstractButton.MNEMONIC_CHANGED_PROPERTY
Identifies a change to the button's mnemonic.
|
static String |
Action.MNEMONIC_KEY
The key used for storing an
Integer that corresponds to
one of the KeyEvent key codes. |
static String |
AbstractButton.MODEL_CHANGED_PROPERTY
Identifies a change in the button model.
|
static String |
JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
Enables multiple-file selections.
|
private static String |
UIManager.multiplexingLAFKey |
private String |
UIManager.LookAndFeelInfo.name |
static String |
Action.NAME
The key used for storing the
String name
for the action, used for a menu or button. |
private static String |
JComponent.NEXT_FOCUS |
static String |
SpringLayout.NORTH
Specifies the top edge of a component's bounding rectangle.
|
private String |
ProgressMonitor.note |
static String |
JTextField.notifyAction
Name of the action to send notification that the
contents of the field have been accepted.
|
static String |
JSplitPane.ONE_TOUCH_EXPANDABLE_PROPERTY
Bound property for oneTouchExpandable.
|
static String |
JOptionPane.OPTION_TYPE_PROPERTY
Bound property name for
optionType. |
static String |
JOptionPane.OPTIONS_PROPERTY
Bound property name for
option. |
static String |
JSplitPane.ORIENTATION_PROPERTY
Bound property name for orientation (horizontal or vertical).
|
(package private) static String |
JEditorPane.PostDataProperty
Should be kept in sync with javax.swing.text.html.FormView counterpart.
|
static String |
AbstractButton.PRESSED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has been
pressed.
|
static String |
JColorChooser.PREVIEW_PANEL_PROPERTY
The preview panel property name.
|
protected String |
JProgressBar.progressString
An optional string that can be displayed on the progress bar.
|
private String |
TransferHandler.propertyName |
(package private) String |
JEditorPane.HeaderParser.raw |
static String |
JSplitPane.RESIZE_WEIGHT_PROPERTY
Bound property for weight.
|
static String |
JSplitPane.RIGHT
Used to add a
Component to the right of the other
Component. |
static String |
AbstractButton.ROLLOVER_ENABLED_CHANGED_PROPERTY
Identifies a change from rollover enabled to disabled or back
to enabled.
|
static String |
AbstractButton.ROLLOVER_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the cursor is over
the button.
|
static String |
AbstractButton.ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the cursor is
over the button and it has been selected.
|
static String |
JInternalFrame.ROOT_PANE_PROPERTY
Bound property name.
|
static String |
JTree.ROOT_VISIBLE_PROPERTY
Bound property name for
rootVisible. |
static String |
ScrollPaneConstants.ROW_HEADER
Identifies the area along the left side of the viewport between the
upper left corner and the lower left corner.
|
static String |
JTree.ROW_HEIGHT_PROPERTY
Bound property name for
rowHeight. |
static String |
JTree.SCROLLS_ON_EXPAND_PROPERTY
Bound property name for
scrollsOnExpand. |
static String |
JFileChooser.SELECTED_FILE_CHANGED_PROPERTY
Identifies change in user's single-file selection.
|
static String |
JFileChooser.SELECTED_FILES_CHANGED_PROPERTY
Identifies change in user's multiple-file selection.
|
static String |
AbstractButton.SELECTED_ICON_CHANGED_PROPERTY
Identifies a change to the icon used when the button has
been selected.
|
static String |
Action.SELECTED_KEY
The key used for storing a
Boolean that corresponds
to the selected state. |
static String |
JTree.SELECTION_MODEL_PROPERTY
Bound property name for selectionModel.
|
static String |
JColorChooser.SELECTION_MODEL_PROPERTY
The selection model property name.
|
static String |
JOptionPane.SELECTION_VALUES_PROPERTY
Bound property name for
selectionValues. |
static String |
Action.SHORT_DESCRIPTION
The key used for storing a short
String
description for the action, used for tooltip text. |
private static String |
JFileChooser.SHOW_HIDDEN_PROP |
static String |
JTree.SHOWS_ROOT_HANDLES_PROPERTY
Bound property name for
showsRootHandles. |
static String |
Action.SMALL_ICON
The key used for storing a small
Icon, such
as ImageIcon. |
static String |
SpringLayout.SOUTH
Specifies the bottom edge of a component's bounding rectangle.
|
(package private) String[][] |
JEditorPane.HeaderParser.tab |
private String |
JLabel.text |
private String |
AbstractButton.text |
static String |
AbstractButton.TEXT_CHANGED_PROPERTY
Identifies a change in the button's text.
|
(package private) static String |
UIDefaults.TextAndMnemonicHashMap.TEXT_SUFFIX |
(package private) String |
JTabbedPane.Page.tip |
(package private) String |
JToolTip.tipText |
(package private) String |
JTabbedPane.Page.title |
protected String |
JInternalFrame.title
The title displayed in this internal frame's title bar.
|
static String |
JInternalFrame.TITLE_PROPERTY
Bound property name.
|
(package private) static String |
UIDefaults.TextAndMnemonicHashMap.TITLE_SUFFIX |
static String |
JTree.TOGGLE_CLICK_COUNT_PROPERTY
Bound property name for
toggleClickCount. |
static String |
JComponent.TOOL_TIP_TEXT_KEY
The comment to display when the cursor is over the component,
also known as a "value tip", "flyover help", or "flyover label".
|
(package private) String |
ToolTipManager.toolTipText |
static String |
JSplitPane.TOP
Used to add a
Component above the other
Component. |
static String |
JTree.TREE_MODEL_PROPERTY
Bound property name for
treeModel. |
private static String |
JViewport.uiClassID |
private static String |
JTree.uiClassID |
private static String |
JToolTip.uiClassID |
private static String |
JToolBar.uiClassID |
private static String |
JToggleButton.uiClassID |
private static String |
JTextPane.uiClassID |
private static String |
JTextField.uiClassID |
private static String |
JTextArea.uiClassID |
private static String |
JTable.uiClassID |
private static String |
JTabbedPane.uiClassID |
private static String |
JSplitPane.uiClassID |
private static String |
JSpinner.uiClassID |
private static String |
JSlider.uiClassID |
private static String |
JSeparator.uiClassID |
private static String |
JScrollPane.uiClassID |
private static String |
JScrollBar.uiClassID |
private static String |
JRootPane.uiClassID |
private static String |
JRadioButtonMenuItem.uiClassID |
private static String |
JRadioButton.uiClassID |
private static String |
JProgressBar.uiClassID |
private static String |
JPopupMenu.uiClassID |
private static String |
JPasswordField.uiClassID |
private static String |
JPanel.uiClassID |
private static String |
JOptionPane.uiClassID |
private static String |
JMenuItem.uiClassID |
private static String |
JMenuBar.uiClassID |
private static String |
JMenu.uiClassID |
private static String |
JList.uiClassID |
private static String |
JLabel.uiClassID |
private static String |
JInternalFrame.uiClassID |
private static String |
JFormattedTextField.uiClassID |
private static String |
JFileChooser.uiClassID |
private static String |
JEditorPane.uiClassID |
private static String |
JDesktopPane.uiClassID |
private static String |
JComponent.uiClassID |
private static String |
JComboBox.uiClassID |
private static String |
JColorChooser.uiClassID |
private static String |
JCheckBoxMenuItem.uiClassID |
private static String |
JCheckBox.uiClassID |
private static String |
JButton.uiClassID |
static String |
ScrollPaneConstants.UPPER_LEADING_CORNER
Identifies the upper leading edge corner of the viewport.
|
static String |
ScrollPaneConstants.UPPER_LEFT_CORNER
Identifies the upper left corner of the viewport.
|
static String |
ScrollPaneConstants.UPPER_RIGHT_CORNER
Identifies the upper right corner of the viewport.
|
static String |
ScrollPaneConstants.UPPER_TRAILING_CORNER
Identifies the upper trailing edge corner of the viewport.
|
static String |
JOptionPane.VALUE_PROPERTY
Bound property name for
value. |
static String |
AbstractButton.VERTICAL_ALIGNMENT_CHANGED_PROPERTY
Identifies a change in the button's vertical alignment.
|
static String |
SpringLayout.VERTICAL_CENTER
Specifies the vertical center of a component's bounding rectangle.
|
static String |
ScrollPaneConstants.VERTICAL_SCROLLBAR
Identifies a vertical scrollbar.
|
static String |
ScrollPaneConstants.VERTICAL_SCROLLBAR_POLICY
Identifies the vertical scroll bar policy property.
|
static String |
AbstractButton.VERTICAL_TEXT_POSITION_CHANGED_PROPERTY
Identifies a change in the button's vertical text position.
|
static String |
ScrollPaneConstants.VIEWPORT
Identifies a "viewport" or display area, within which
scrolled contents are visible.
|
static String |
JTree.VISIBLE_ROW_COUNT_PROPERTY
Bound property name for
visibleRowCount. |
static String |
JEditorPane.W3C_LENGTH_UNITS
Key for a client property used to indicate whether
w3c compliant length units are used for html rendering.
|
static String |
JOptionPane.WANTS_INPUT_PROPERTY
Bound property name for
wantsInput. |
static String |
SpringLayout.WEST
Specifies the left edge of a component's bounding rectangle.
|
private static String |
JComponent.WHEN_IN_FOCUSED_WINDOW_BINDINGS
An array of
KeyStrokes used for
WHEN_IN_FOCUSED_WINDOW are stashed
in the client properties under this string. |
static String |
SpringLayout.WIDTH
Specifies the width of a component's bounding rectangle.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static Map<String,String> |
JEditorPane.defaultEditorKitMap |
(package private) static Map<String,String> |
JEditorPane.defaultEditorKitMap |
private List<String> |
SpringLayout.Constraints.horizontalHistory |
private Hashtable<String,Object> |
JEditorPane.pageProperties |
private Vector<String> |
UIDefaults.resourceBundles |
private Map<Locale,Map<String,Object>> |
UIDefaults.resourceCache
Maps from a Locale to a cached Map of the ResourceBundle.
|
private Hashtable<String,EditorKit> |
JEditorPane.typeHandlers
Table of registered type handlers for this editor.
|
private List<String> |
SpringLayout.Constraints.verticalHistory |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
UIDefaults.TextAndMnemonicHashMap.composeKey(String key,
int reduce,
String sufix) |
String |
JTree.convertValueToText(Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
Called by the renderers to convert the specified value to
text.
|
String |
JEditorPane.HeaderParser.findKey(int i) |
String |
JEditorPane.HeaderParser.findValue(int i) |
String |
JEditorPane.HeaderParser.findValue(String key) |
String |
JEditorPane.HeaderParser.findValue(String k,
String Default) |
String |
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleActionDescription(int i)
Return a description of the specified action of the tree node.
|
String |
JSpinner.AccessibleJSpinner.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object.
|
String |
JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink.getAccessibleActionDescription(int i)
Return a String description of this particular
link action.
|
String |
JComboBox.AccessibleJComboBox.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
AbstractButton.AccessibleAbstractButton.getAccessibleActionDescription(int i)
Return a description of the specified action of the object.
|
String |
ProgressMonitor.AccessibleProgressMonitor.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleDescription()
Get the accessible description of this object.
|
String |
JToolTip.AccessibleJToolTip.getAccessibleDescription()
Get the accessible description of this object.
|
String |
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleDescription()
Gets the accessible description of this object.
|
String |
JTable.AccessibleJTable.AccessibleJTableHeaderCell.getAccessibleDescription()
Gets the accessible description of this object.
|
String |
JTabbedPane.Page.getAccessibleDescription() |
String |
JList.AccessibleJList.AccessibleJListChild.getAccessibleDescription() |
String |
JEditorPane.AccessibleJEditorPane.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
JComponent.AccessibleJComponent.getAccessibleDescription()
Gets the accessible description of this object.
|
String |
JComboBox.AccessibleJComboBox.EditorAccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
ImageIcon.AccessibleImageIcon.getAccessibleIconDescription()
Gets the description of the icon.
|
String |
ProgressMonitor.AccessibleProgressMonitor.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleName()
Get the accessible name of this object.
|
String |
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleName()
Gets the accessible name of this object.
|
String |
JTable.AccessibleJTable.AccessibleJTableHeaderCell.getAccessibleName()
Gets the accessible name of this object.
|
String |
JTabbedPane.AccessibleJTabbedPane.getAccessibleName()
Returns the accessible name of this object, or
null if
there is no accessible name. |
String |
JTabbedPane.Page.getAccessibleName() |
String |
JList.AccessibleJList.AccessibleJListChild.getAccessibleName() |
String |
JLabel.AccessibleJLabel.getAccessibleName()
Get the accessible name of this object.
|
String |
JInternalFrame.AccessibleJInternalFrame.getAccessibleName()
Get the accessible name of this object.
|
String |
JFrame.AccessibleJFrame.getAccessibleName()
Get the accessible name of this object.
|
String |
JDialog.AccessibleJDialog.getAccessibleName()
Get the accessible name of this object.
|
String |
JComponent.AccessibleJComponent.getAccessibleName()
Gets the accessible name of this object.
|
String |
JComboBox.AccessibleJComboBox.EditorAccessibleContext.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
AbstractButton.AccessibleAbstractButton.getAccessibleName()
Returns the accessible name of this object.
|
String |
Timer.getActionCommand()
Returns the string that will be delivered as the action command
in
ActionEvents fired by this timer. |
String |
JComboBox.getActionCommand()
Returns the action command that is included in the event sent to
action listeners.
|
String |
DefaultButtonModel.getActionCommand()
Returns the action command string for the button.
|
String |
ButtonModel.getActionCommand()
Returns the action command string for the button.
|
String |
AbstractButton.getActionCommand()
Returns the action command for this button.
|
String |
ProgressMonitor.AccessibleProgressMonitor.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
JSpinner.AccessibleJSpinner.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
JPasswordField.AccessibleJPasswordField.getAfterIndex(int part,
int index)
Returns the
String after a given index. |
String |
JLabel.AccessibleJLabel.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
AbstractButton.AccessibleAbstractButton.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
JFileChooser.getApproveButtonText()
Returns the text used in the
ApproveButton in the
FileChooserUI. |
String |
JFileChooser.getApproveButtonToolTipText()
Returns the tooltip text used in the
ApproveButton. |
String |
ProgressMonitor.AccessibleProgressMonitor.getAtIndex(int part,
int index)
Returns the String at a given index.
|
String |
JSpinner.AccessibleJSpinner.getAtIndex(int part,
int index)
Returns the String at a given index.
|
String |
JPasswordField.AccessibleJPasswordField.getAtIndex(int part,
int index)
Returns the
String at a given index. |
String |
JLabel.AccessibleJLabel.getAtIndex(int part,
int index)
Returns the String at a given index.
|
String |
AbstractButton.AccessibleAbstractButton.getAtIndex(int part,
int index)
Returns the String at a given index.
|
String |
ProgressMonitor.AccessibleProgressMonitor.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
JSpinner.AccessibleJSpinner.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
JPasswordField.AccessibleJPasswordField.getBeforeIndex(int part,
int index)
Returns the
String before a given index. |
String |
JLabel.AccessibleJLabel.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
AbstractButton.AccessibleAbstractButton.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
protected String |
JComponent.AccessibleJComponent.getBorderTitle(Border b)
Recursively search through the border hierarchy (if it exists)
for a TitledBorder with a non-null title.
|
String |
UIManager.LookAndFeelInfo.getClassName()
Returns the name of the class that implements this look and feel.
|
String |
JTable.getColumnName(int column)
Returns the name of the column appearing in the view at
column position
column. |
String |
JEditorPane.getContentType()
Gets the type of content that this editor
is currently set to deal with.
|
static String |
UIManager.getCrossPlatformLookAndFeelClassName()
Returns the name of the
LookAndFeel class that implements
the default cross platform look and feel -- the Java
Look and Feel (JLF). |
private static String |
JSpinner.DateEditor.getDefaultPattern(Locale loc) |
private static String |
JSpinner.NumberEditor.getDefaultPattern(Locale locale) |
abstract String |
LookAndFeel.getDescription()
Return a one line description of this look and feel implementation,
e.g.
|
String |
ImageIcon.getDescription()
Gets the description of the image.
|
String |
JFileChooser.getDescription(File f)
Returns the file description.
|
String |
JFileChooser.getDialogTitle()
Gets the string that goes in the
JFileChooser's titlebar. |
private String |
JPasswordField.AccessibleJPasswordField.getEchoString(String str) |
static String |
JEditorPane.getEditorKitClassNameForContentType(String type)
Returns the currently registered
EditorKit
class name for the type type. |
abstract String |
LookAndFeel.getID()
Return a string that identifies this look and feel.
|
(package private) String |
UIDefaults.TextAndMnemonicHashMap.getIndexFromProperty(String text) |
String |
JPopupMenu.getLabel()
Returns the popup menu's label
|
String |
AbstractButton.getLabel()
Deprecated.
- Replaced by
getText |
String |
JEditorPane.JEditorPaneAccessibleHypertextSupport.getLinkText(int linkIndex)
Returns the contiguous text within the document that
is associated with this hyperlink.
|
(package private) String |
GroupLayout.AutoPreferredGapSpring.getMatchDescription() |
(package private) String |
GroupLayout.ContainerAutoPreferredGapSpring.getMatchDescription() |
(package private) String |
UIDefaults.TextAndMnemonicHashMap.getMnemonicFromProperty(String text) |
String |
UIManager.LookAndFeelInfo.getName()
Returns the name of the look and feel in a form suitable
for a menu or other presentation
|
abstract String |
LookAndFeel.getName()
Return a short string that identifies this look and feel, e.g.
|
String |
JFileChooser.getName(File f)
Returns the filename.
|
String |
ProgressMonitor.getNote()
Specifies the additional note that is displayed along with the
progress message.
|
String |
ProgressMonitor.AccessibleProgressMonitor.getSelectedText()
Returns the portion of the text that is selected.
|
String |
JSpinner.AccessibleJSpinner.getSelectedText()
Returns the portion of the text that is selected.
|
String |
JLabel.AccessibleJLabel.getSelectedText()
Returns the portion of the text that is selected.
|
String |
AbstractButton.AccessibleAbstractButton.getSelectedText()
Returns the portion of the text that is selected.
|
String |
JProgressBar.getString()
Returns a
String representation of the current progress. |
static String |
UIManager.getString(Object key)
Returns a string from the defaults.
|
String |
UIDefaults.getString(Object key)
If the value of
key is a String return it,
otherwise return null. |
(package private) static String |
UIManager.getString(Object key,
Component c)
Returns a string from the defaults that is appropriate for the
given locale.
|
static String |
UIManager.getString(Object key,
Locale l)
Returns a string from the defaults that is appropriate for the
given locale.
|
String |
UIDefaults.getString(Object key,
Locale l)
If the value of
key for the given Locale
is a String return it, otherwise return null. |
String |
RowFilter.Entry.getStringValue(int index)
Returns the string value at the specified index.
|
String |
DefaultRowSorter.FilterEntry.getStringValue(int index) |
String |
DefaultRowSorter.ModelWrapper.getStringValueAt(int row,
int column)
Returns the value as a
String at the specified
index. |
static String |
UIManager.getSystemLookAndFeelClassName()
Returns the name of the
LookAndFeel class that implements
the native system look and feel if there is one, otherwise
the name of the default cross platform LookAndFeel
class. |
String |
JPasswordField.getText()
Deprecated.
As of Java 2 platform v1.2,
replaced by
getPassword. |
String |
JLabel.getText()
Returns the text string that the label displays.
|
String |
JEditorPane.getText()
Returns the text contained in this
TextComponent
in terms of the
content type of this editor. |
String |
AbstractButton.getText()
Returns the button's text.
|
String |
JPasswordField.getText(int offs,
int len)
Deprecated.
As of Java 2 platform v1.2,
replaced by
getPassword. |
private String |
JLabel.AccessibleJLabel.getText(int offset,
int length) |
private String |
AbstractButton.AccessibleAbstractButton.getText(int offset,
int length) |
(package private) String |
UIDefaults.TextAndMnemonicHashMap.getTextFromProperty(String text) |
String |
JSpinner.AccessibleJSpinner.getTextRange(int startIndex,
int endIndex)
Returns the text string between two indices.
|
String |
JPasswordField.AccessibleJPasswordField.getTextRange(int startIndex,
int endIndex)
Returns the text between two
indices. |
String |
JToolTip.getTipText()
Returns the text that is shown when the tool tip is displayed.
|
String |
JInternalFrame.getTitle()
Returns the title of the
JInternalFrame. |
String |
JTabbedPane.getTitleAt(int index)
Returns the tab title at
index. |
String |
JLabel.AccessibleJLabel.getTitledBorderText()
Returns the titled border text
|
String |
JComponent.AccessibleJComponent.getTitledBorderText()
Returns the titled border text
|
String |
AbstractButton.AccessibleAbstractButton.getTitledBorderText()
Returns the titled border text
|
String |
JLabel.AccessibleJLabel.getToolTipText()
Returns the tool tip text
|
String |
JComponent.getToolTipText()
Returns the tooltip string that has been set with
setToolTipText. |
String |
JComponent.AccessibleJComponent.getToolTipText()
Returns the tool tip text
|
String |
AbstractButton.AccessibleAbstractButton.getToolTipText()
Returns the tool tip text
|
String |
JTree.getToolTipText(MouseEvent event)
Overrides
JComponent's getToolTipText
method in order to allow
renderer's tips to be used if it has text set. |
String |
JTable.getToolTipText(MouseEvent event)
Overrides
JComponent's getToolTipText
method in order to allow the renderer's tips to be used
if it has text set. |
String |
JTabbedPane.getToolTipText(MouseEvent event)
Returns the tooltip text for the component determined by the
mouse event location.
|
String |
JList.getToolTipText(MouseEvent event)
Returns the tooltip text to be used for the given event.
|
String |
JComponent.getToolTipText(MouseEvent event)
Returns the string to be used as the tooltip for event.
|
String |
JTabbedPane.getToolTipTextAt(int index)
Returns the tab tooltip text at
index. |
String |
JFileChooser.getTypeDescription(File f)
Returns the file type.
|
String |
JViewport.getUIClassID()
Returns a string that specifies the name of the L&F class
that renders this component.
|
String |
JTree.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JToolTip.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JToolBar.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JToolBar.Separator.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JToggleButton.getUIClassID()
Returns a string that specifies the name of the l&f class
that renders this component.
|
String |
JTextPane.getUIClassID()
Returns the class ID for the UI.
|
String |
JTextField.getUIClassID()
Gets the class ID for a UI.
|
String |
JTextArea.getUIClassID()
Returns the class ID for the UI.
|
String |
JTable.getUIClassID()
Returns the suffix used to construct the name of the L&F class used to
render this component.
|
String |
JTabbedPane.getUIClassID()
Returns the name of the UI class that implements the
L&F for this component.
|
String |
JSplitPane.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JSpinner.getUIClassID()
Returns the suffix used to construct the name of the look and feel
(L&F) class used to render this component.
|
String |
JSlider.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JSeparator.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JScrollPane.getUIClassID()
Returns the suffix used to construct the name of the L&F class used to
render this component.
|
String |
JScrollBar.getUIClassID()
Returns the name of the LookAndFeel class for this component.
|
String |
JRootPane.getUIClassID()
Returns a string that specifies the name of the L&F class
that renders this component.
|
String |
JRadioButtonMenuItem.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JRadioButton.getUIClassID()
Returns the name of the L&F class
that renders this component.
|
String |
JProgressBar.getUIClassID()
Returns the name of the look-and-feel class that renders this component.
|
String |
JPopupMenu.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JPopupMenu.Separator.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JPasswordField.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JPanel.getUIClassID()
Returns a string that specifies the name of the L&F class
that renders this component.
|
String |
JOptionPane.getUIClassID()
Returns the name of the UI class that implements the
L&F for this component.
|
String |
JMenuItem.getUIClassID()
Returns the suffix used to construct the name of the L&F class used to
render this component.
|
String |
JMenuBar.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JMenu.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JList.getUIClassID()
Returns
"ListUI", the UIDefaults key used to look
up the name of the javax.swing.plaf.ListUI class that defines
the look and feel for this component. |
String |
JLabel.getUIClassID()
Returns a string that specifies the name of the l&f class
that renders this component.
|
String |
JInternalFrame.getUIClassID()
Returns the name of the look-and-feel
class that renders this component.
|
String |
JInternalFrame.JDesktopIcon.getUIClassID()
Returns the name of the look-and-feel
class that renders this component.
|
String |
JFormattedTextField.getUIClassID()
Gets the class ID for a UI.
|
String |
JFileChooser.getUIClassID()
Returns a string that specifies the name of the L&F class
that renders this component.
|
String |
JEditorPane.getUIClassID()
Gets the class ID for the UI.
|
String |
JDesktopPane.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JComponent.getUIClassID()
Returns the
UIDefaults key used to
look up the name of the swing.plaf.ComponentUI
class that defines the look and feel
for this component. |
String |
JComboBox.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JColorChooser.getUIClassID()
Returns the name of the L&F class that renders this component.
|
String |
JCheckBoxMenuItem.getUIClassID()
Returns the name of the L&F class
that renders this component.
|
String |
JCheckBox.getUIClassID()
Returns a string that specifies the name of the L&F class
that renders this component.
|
String |
JButton.getUIClassID()
Returns a string that specifies the name of the L&F class
that renders this component.
|
String |
JInternalFrame.getWarningString()
Gets the warning string that is displayed with this internal frame.
|
static String |
SwingUtilities.layoutCompoundLabel(FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string.
|
static String |
SwingUtilities.layoutCompoundLabel(JComponent c,
FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string.
|
private static String |
SwingUtilities.layoutCompoundLabelImpl(JComponent c,
FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string.
|
private static String |
UIManager.makeInstalledLAFKey(String laf,
String attr)
Return a swing.properties file key for the attribute of specified
look and feel.
|
private static String |
UIManager.makeSwingPropertiesFilename()
The filename for swing.properties is a path like this (Unix version):
|
protected String |
JWindow.paramString()
Returns a string representation of this
JWindow. |
protected String |
JViewport.paramString()
Returns a string representation of this
JViewport. |
protected String |
JTree.paramString()
Returns a string representation of this
JTree. |
protected String |
JToolTip.paramString()
Returns a string representation of this
JToolTip. |
protected String |
JToolBar.paramString()
Returns a string representation of this
JToolBar. |
protected String |
JToggleButton.paramString()
Returns a string representation of this JToggleButton.
|
protected String |
JTextPane.paramString()
Returns a string representation of this
JTextPane. |
protected String |
JTextField.paramString()
Returns a string representation of this
JTextField. |
protected String |
JTextArea.paramString()
Returns a string representation of this JTextArea.
|
protected String |
JTable.paramString()
Returns a string representation of this table.
|
protected String |
JTabbedPane.paramString()
Returns a string representation of this
JTabbedPane. |
protected String |
JSplitPane.paramString()
Returns a string representation of this
JSplitPane. |
protected String |
JSlider.paramString()
Returns a string representation of this JSlider.
|
protected String |
JSeparator.paramString()
Returns a string representation of this
JSeparator. |
protected String |
JScrollPane.paramString()
Returns a string representation of this
JScrollPane. |
protected String |
JScrollBar.paramString()
Returns a string representation of this JScrollBar.
|
protected String |
JRootPane.paramString()
Returns a string representation of this
JRootPane. |
protected String |
JRadioButtonMenuItem.paramString()
Returns a string representation of this
JRadioButtonMenuItem. |
protected String |
JRadioButton.paramString()
Returns a string representation of this JRadioButton.
|
protected String |
JProgressBar.paramString()
Returns a string representation of this
JProgressBar. |
protected String |
JPopupMenu.paramString()
Returns a string representation of this
JPopupMenu. |
protected String |
JPasswordField.paramString()
Returns a string representation of this
JPasswordField. |
protected String |
JPanel.paramString()
Returns a string representation of this JPanel.
|
protected String |
JOptionPane.paramString()
Returns a string representation of this
JOptionPane. |
protected String |
JMenuItem.paramString()
Returns a string representation of this
JMenuItem. |
protected String |
JMenuBar.paramString()
Returns a string representation of this
JMenuBar. |
protected String |
JMenu.paramString()
Returns a string representation of this
JMenu. |
protected String |
JList.paramString()
Returns a
String representation of this JList. |
protected String |
JLayeredPane.paramString()
Returns a string representation of this JLayeredPane.
|
protected String |
JLabel.paramString()
Returns a string representation of this JLabel.
|
protected String |
JInternalFrame.paramString()
Returns a string representation of this
JInternalFrame. |
protected String |
JFrame.paramString()
Returns a string representation of this
JFrame. |
protected String |
JFileChooser.paramString()
Returns a string representation of this
JFileChooser. |
protected String |
JEditorPane.paramString()
Returns a string representation of this
JEditorPane. |
protected String |
JDialog.paramString()
Returns a string representation of this
JDialog. |
protected String |
JDesktopPane.paramString()
Returns a string representation of this
JDesktopPane. |
protected String |
JComponent.paramString()
Returns a string representation of this
JComponent. |
protected String |
JComboBox.paramString()
Returns a string representation of this
JComboBox. |
protected String |
JColorChooser.paramString()
Returns a string representation of this
JColorChooser. |
protected String |
JCheckBoxMenuItem.paramString()
Returns a string representation of this JCheckBoxMenuItem.
|
protected String |
JCheckBox.paramString()
Returns a string representation of this JCheckBox.
|
protected String |
JButton.paramString()
Returns a string representation of this
JButton. |
protected String |
JApplet.paramString()
Returns a string representation of this JApplet.
|
protected String |
AbstractButton.paramString()
Returns a string representation of this
AbstractButton. |
(package private) String |
DebugGraphics.pointToString(int x,
int y) |
private String |
UIDefaults.ProxyLazyValue.printArgs(Object[] array) |
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message)
Shows a question-message dialog requesting input from the user
parented to
parentComponent. |
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
Object initialSelectionValue)
Shows a question-message dialog requesting input from the user and
parented to
parentComponent. |
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows a dialog requesting input from the user parented to
parentComponent with the dialog having the title
title and message type messageType. |
static String |
JOptionPane.showInputDialog(Object message)
Shows a question-message dialog requesting input from the user.
|
static String |
JOptionPane.showInputDialog(Object message,
Object initialSelectionValue)
Shows a question-message dialog requesting input from the user, with
the input value initialized to
initialSelectionValue. |
static String |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message)
Shows an internal question-message dialog requesting input from
the user parented to
parentComponent. |
static String |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows an internal dialog requesting input from the user parented
to
parentComponent with the dialog having the title
title and message type messageType. |
(package private) String |
DebugGraphics.toShortString() |
String |
UIManager.LookAndFeelInfo.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
TransferHandler.DropLocation.toString()
Returns a string representation of this drop location.
|
String |
TimerQueue.toString() |
String |
SpringLayout.SpringProxy.toString() |
String |
Spring.StaticSpring.toString() |
String |
Spring.CompoundSpring.toString() |
String |
SizeRequirements.toString()
Returns a string describing the minimum, preferred, and maximum
size requirements, along with the alignment.
|
String |
RepaintManager.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
MultiUIDefaults.toString() |
String |
LookAndFeel.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
JTree.DropLocation.toString()
Returns a string representation of this drop location.
|
String |
JTable.DropLocation.toString()
Returns a string representation of this drop location.
|
String |
JList.DropLocation.toString()
Returns a string representation of this drop location.
|
String |
ImageIcon.toString()
Returns a string representation of this image.
|
String |
GroupLayout.toString()
Returns a string representation of this
GroupLayout. |
String |
GroupLayout.SpringDelta.toString() |
String |
GroupLayout.AutoPreferredGapSpring.toString() |
String |
GroupLayout.AutoPreferredGapMatch.toString() |
String |
DefaultListSelectionModel.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
DefaultListModel.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
DefaultBoundedRangeModel.toString()
Returns a string that displays all of the
BoundedRangeModel properties. |
private String |
GroupLayout.AutoPreferredGapMatch.toString(GroupLayout.ComponentSpring spring) |
String |
JSpinner.ListEditor.ListFormatter.valueToString(Object value) |
abstract String |
JFormattedTextField.AbstractFormatter.valueToString(Object value)
Returns the string value to display for
value. |
| Modifier and Type | Method and Description |
|---|---|
private static Hashtable<String,ClassLoader> |
JEditorPane.getKitLoaderRegistry() |
private static Hashtable<String,EditorKit> |
JEditorPane.getKitRegisty() |
private static Hashtable<String,String> |
JEditorPane.getKitTypeRegistry() |
private static Hashtable<String,String> |
JEditorPane.getKitTypeRegistry() |
private Map<String,Object> |
UIDefaults.getResourceCache(Locale l)
Returns a Map of the known resources for the given locale.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
JTextField.actionPropertyChanged(Action action,
String propertyName)
Updates the textfield's state in response to property changes in
associated action.
|
protected void |
JMenuItem.actionPropertyChanged(Action action,
String propertyName)
Updates the button's state in response to property changes in the
associated action.
|
protected void |
JComboBox.actionPropertyChanged(Action action,
String propertyName)
Updates the combobox's state in response to property changes in
associated action.
|
protected void |
AbstractButton.actionPropertyChanged(Action action,
String propertyName)
Updates the button's state in response to property changes in the
associated action.
|
JMenuItem |
JPopupMenu.add(String s)
Creates a new menu item with the specified text and appends
it to the end of this menu.
|
JMenuItem |
JMenu.add(String s)
Creates a new menu item with the specified text and appends
it to the end of this menu.
|
Component |
JTabbedPane.add(String title,
Component component)
Adds a
component with the specified tab title. |
void |
ViewportLayout.addLayoutComponent(String name,
Component c)
Adds the specified component to the layout.
|
void |
SpringLayout.addLayoutComponent(String name,
Component c)
Has no effect,
since this layout manager does not
use a per-component string.
|
void |
ScrollPaneLayout.addLayoutComponent(String s,
Component c)
Adds the specified component to the layout.
|
void |
OverlayLayout.addLayoutComponent(String name,
Component comp)
Adds the specified component to the layout.
|
void |
JToolBar.DefaultToolBarLayout.addLayoutComponent(String name,
Component comp) |
void |
JSpinner.DefaultEditor.addLayoutComponent(String name,
Component child)
This
LayoutManager method does nothing. |
void |
JRootPane.RootLayout.addLayoutComponent(String name,
Component comp) |
void |
GroupLayout.addLayoutComponent(String name,
Component component)
Notification that a
Component has been added to
the parent container. |
void |
BoxLayout.addLayoutComponent(String name,
Component comp)
Not used by this class.
|
void |
DelegatingDefaultFocusManager.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
UIDefaults.addResourceBundle(String bundleName)
Adds a resource bundle to the list of resource bundles that are
searched for localized values.
|
Style |
JTextPane.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy.
|
void |
JTabbedPane.addTab(String title,
Component component)
Adds a
component represented by a title
and no icon. |
void |
JTabbedPane.addTab(String title,
Icon icon,
Component component)
Adds a
component represented by a title
and/or icon, either of which can be null. |
void |
JTabbedPane.addTab(String title,
Icon icon,
Component component,
String tip)
Adds a
component and tip
represented by a title and/or icon,
either of which can be null. |
void |
DelegatingDefaultFocusManager.addVetoableChangeListener(String propertyName,
VetoableChangeListener listener) |
void |
JTextArea.append(String str)
Appends the given text to the end of the document.
|
private void |
SpringLayout.applyDefaults(SpringLayout.Constraints constraints,
String name1,
Spring spring1,
String name2,
Spring spring2,
List<String> history) |
private void |
JTabbedPane.changeAccessibleSelection(JTabbedPane.Page oldPage,
String oldName,
JTabbedPane.Page newPage) |
protected int |
JLabel.checkHorizontalKey(int key,
String message)
Verify that key is a legal value for the horizontalAlignment properties.
|
protected int |
AbstractButton.checkHorizontalKey(int key,
String exception)
Verify that the
key argument is a legal value for the
horizontalAlignment and horizontalTextPosition
properties. |
private static void |
UIManager.checkProperty(Properties props,
String key) |
protected int |
JLabel.checkVerticalKey(int key,
String message)
Verify that key is a legal value for the
verticalAlignment or verticalTextPosition properties.
|
protected int |
AbstractButton.checkVerticalKey(int key,
String exception)
Verify that the
key argument is a legal value for the
vertical properties. |
(package private) String |
UIDefaults.TextAndMnemonicHashMap.composeKey(String key,
int reduce,
String sufix) |
static int |
SwingUtilities.computeStringWidth(FontMetrics fm,
String str)
Compute the width of the string using a font with the specified
"metrics" (sizes).
|
JDialog |
ProgressMonitor.ProgressOptionPane.createDialog(Component parentComponent,
String title) |
JDialog |
JOptionPane.createDialog(Component parentComponent,
String title)
Creates and returns a new
JDialog wrapping
this centered on the parentComponent
in the parentComponent's frame. |
static JDialog |
JColorChooser.createDialog(Component c,
String title,
boolean modal,
JColorChooser chooserPane,
ActionListener okListener,
ActionListener cancelListener)
Creates and returns a new dialog containing the specified
ColorChooser pane along with "OK", "Cancel", and "Reset"
buttons. |
private JDialog |
JOptionPane.createDialog(Component parentComponent,
String title,
int style) |
JDialog |
JOptionPane.createDialog(String title)
Creates and returns a new parentless
JDialog
with the specified title. |
static EditorKit |
JEditorPane.createEditorKitForContentType(String type)
Creates a handler for the given type from the default registry
of editor kits.
|
JInternalFrame |
JOptionPane.createInternalFrame(Component parentComponent,
String title)
Creates and returns an instance of
JInternalFrame. |
private void |
GroupLayout.createSpringDescription(StringBuffer buffer,
GroupLayout.Spring spring,
String indent,
int axis) |
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title)
Adds a title to an existing border,
with default positioning (sitting on the top line),
default justification (leading) and the default
font and text color (determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition)
Adds a title to an existing border, with the specified
positioning and using the default
font and text color (determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont)
Adds a title to an existing border, with the specified
positioning and font, and using the default text color
(determined by the current look and feel).
|
static TitledBorder |
BorderFactory.createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
Adds a title to an existing border, with the specified
positioning, font and color.
|
static TitledBorder |
BorderFactory.createTitledBorder(String title)
Creates a new titled border with the specified title,
the default border type (determined by the current look and feel),
the default text position (sitting on the top line),
the default justification (leading), and the default
font and text color (determined by the current look and feel).
|
(package private) boolean |
JPasswordField.customSetUIProperty(String propertyName,
Object value)
This method is a hack to get around the fact that we cannot
directly override setUIProperty because part of the inheritance heirarchy
goes outside of the javax.swing package, and therefore calling a package
private method isn't allowed.
|
private boolean |
SpringLayout.Constraints.defined(List history,
String s1,
String s2) |
void |
DebugGraphics.drawString(String aString,
int x,
int y)
Overrides
Graphics.drawString. |
(package private) static int |
SwingUtilities.findDisplayedMnemonicIndex(String text,
int mnemonic)
Returns index of the first occurrence of
mnemonic
within string text. |
int |
JEditorPane.HeaderParser.findInt(String k,
int Default) |
(package private) Object |
SpinnerListModel.findNextMatch(String substring)
Returns the next object that starts with
substring. |
String |
JEditorPane.HeaderParser.findValue(String key) |
String |
JEditorPane.HeaderParser.findValue(String k,
String Default) |
protected void |
JFileChooser.fireActionPerformed(String command)
Notifies all listeners that have registered interest for
notification on this event type.
|
void |
JComponent.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Support for reporting bound property changes for boolean properties.
|
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Overridden for performance reasons.
|
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
Overridden for performance reasons.
|
void |
JComponent.firePropertyChange(String propertyName,
char oldValue,
char newValue) |
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
char oldValue,
char newValue)
Overridden for performance reasons.
|
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
double oldValue,
double newValue)
Overridden for performance reasons.
|
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
float oldValue,
float newValue)
Overridden for performance reasons.
|
void |
JComponent.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Support for reporting bound property changes for integer properties.
|
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Overridden for performance reasons.
|
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
long oldValue,
long newValue)
Overridden for performance reasons.
|
protected void |
UIDefaults.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes.
|
void |
SwingWorker.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Reports a bound property update to any registered listeners.
|
protected void |
JViewport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Notifies listeners of a property change.
|
void |
JComboBox.AccessibleJComboBox.EditorAccessibleContext.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes.
|
protected void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Overridden for performance reasons.
|
protected void |
AbstractAction.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Supports reporting bound property changes.
|
void |
DefaultListCellRenderer.firePropertyChange(String propertyName,
short oldValue,
short newValue)
Overridden for performance reasons.
|
protected void |
JComponent.fireVetoableChange(String propertyName,
Object oldValue,
Object newValue)
Supports reporting constrained property changes.
|
static Container |
SwingUtilities.getAncestorNamed(String name,
Component comp)
Convenience method for searching above
comp in the
component hierarchy and returns the first object of name it
finds. |
Spring |
SpringLayout.Constraints.getConstraint(String edgeName)
Returns the value of the specified edge, which may be
a derived value, or even
null. |
Spring |
SpringLayout.getConstraint(String edgeName,
Component c)
Returns the spring controlling the distance between
the specified edge of
the component and the top or left edge of its parent.
|
Component |
ScrollPaneLayout.getCorner(String key)
Returns the
Component at the specified corner. |
Component |
JScrollPane.getCorner(String key)
Returns the component at the specified corner.
|
static Object |
LookAndFeel.getDesktopPropertyValue(String systemPropertyName,
Object fallbackValue)
Returns the value of the specified system desktop property by
invoking
Toolkit.getDefaultToolkit().getDesktopProperty(). |
private String |
JPasswordField.AccessibleJPasswordField.getEchoString(String str) |
static String |
JEditorPane.getEditorKitClassNameForContentType(String type)
Returns the currently registered
EditorKit
class name for the type type. |
EditorKit |
JEditorPane.getEditorKitForContentType(String type)
Fetches the editor kit to use for the given type
of content.
|
(package private) String |
UIDefaults.TextAndMnemonicHashMap.getIndexFromProperty(String text) |
static KeyStroke |
KeyStroke.getKeyStroke(String s)
Parses a string and returns a
KeyStroke. |
(package private) String |
UIDefaults.TextAndMnemonicHashMap.getMnemonicFromProperty(String text) |
TreePath |
JTree.getNextMatch(String prefix,
int startingRow,
Position.Bias bias)
Returns the TreePath to the next tree element that
begins with a prefix.
|
int |
JList.getNextMatch(String prefix,
int startIndex,
Position.Bias bias)
Returns the next list element whose
toString value
starts with the given prefix. |
Style |
JTextPane.getStyle(String nm)
Fetches a named non-
null style previously added. |
(package private) String |
UIDefaults.TextAndMnemonicHashMap.getTextFromProperty(String text) |
Class<? extends ComponentUI> |
UIDefaults.getUIClass(String uiClassID)
Returns the L&F class that renders this component.
|
Class<? extends ComponentUI> |
UIDefaults.getUIClass(String uiClassID,
ClassLoader uiClassLoader)
The value of
get(uidClassID) must be the
String name of a
class that implements the corresponding ComponentUI
class. |
protected void |
UIDefaults.getUIError(String msg)
If
getUI() fails for any reason,
it calls this method before returning null. |
protected void |
MultiUIDefaults.getUIError(String msg) |
Object |
JSpinner.DisabledAction.getValue(String key) |
Object |
JComponent.ActionStandin.getValue(String key) |
Object |
Action.getValue(String key)
Gets one of this object's properties
using the associated key.
|
Object |
AbstractAction.getValue(String key)
Gets the
Object associated with the specified key. |
int |
JTabbedPane.indexOfTab(String title)
Returns the first tab index with a given
title, or
-1 if no tab has this title. |
protected void |
JMenuItem.init(String text,
Icon icon)
Initializes the menu item with the specified text and icon.
|
protected void |
AbstractButton.init(String text,
Icon icon) |
void |
JTextArea.insert(String str,
int pos)
Inserts the specified text at the specified position.
|
void |
JMenu.insert(String s,
int pos)
Inserts a new menu item with the specified text at a
given position.
|
void |
JSpinner.ListEditor.ListFormatter.Filter.insertString(DocumentFilter.FilterBypass fb,
int offset,
String string,
AttributeSet attr) |
void |
JTabbedPane.insertTab(String title,
Icon icon,
Component component,
String tip,
int index)
Inserts a new tab for the given component, at the given index,
represented by the given title and/or icon, either of which may
be
null. |
void |
JSpinner.AccessibleJSpinner.insertTextAtIndex(int index,
String s)
Inserts the specified string at the given index/
|
static void |
LookAndFeel.installBorder(JComponent c,
String defaultBorderName)
Convenience method for setting a component's border property with
a value from the defaults.
|
static void |
LookAndFeel.installColors(JComponent c,
String defaultBgName,
String defaultFgName)
Convenience method for setting a component's foreground
and background color properties with values from the
defaults.
|
static void |
LookAndFeel.installColorsAndFont(JComponent c,
String defaultBgName,
String defaultFgName,
String defaultFontName)
Convenience method for setting a component's foreground,
background and font properties with values from the
defaults.
|
static void |
UIManager.installLookAndFeel(String name,
String className)
Adds the specified look and feel to the set of available look
and feels.
|
static void |
LookAndFeel.installProperty(JComponent c,
String propertyName,
Object propertyValue)
Convenience method for installing a property with the specified name
and value on a component if that property has not already been set
by the developer.
|
static String |
SwingUtilities.layoutCompoundLabel(FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string.
|
static String |
SwingUtilities.layoutCompoundLabel(JComponent c,
FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string.
|
private static String |
SwingUtilities.layoutCompoundLabelImpl(JComponent c,
FontMetrics fm,
String text,
Icon icon,
int verticalAlignment,
int horizontalAlignment,
int verticalTextPosition,
int horizontalTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int textIconGap)
Compute and return the location of the icons origin, the
location of origin of the text baseline, and a possibly clipped
version of the compound labels string.
|
(package private) static Class<?> |
SwingUtilities.loadSystemClass(String className) |
(package private) void |
DebugGraphicsInfo.log(String string) |
static Object |
LookAndFeel.makeIcon(Class<?> baseClass,
String gifFile)
Creates and returns a
UIDefault.LazyValue that loads an
image. |
private static String |
UIManager.makeInstalledLAFKey(String laf,
String attr)
Return a swing.properties file key for the attribute of specified
look and feel.
|
private void |
TablePrintable.printText(Graphics2D g2d,
String text,
Rectangle2D rect,
Font font,
int imgWidth)
A helper method that encapsulates common code for rendering the
header and footer text.
|
private void |
SpringLayout.Constraints.pushConstraint(String name,
Spring value,
boolean horizontal) |
void |
SpringLayout.putConstraint(String e1,
Component c1,
int pad,
String e2,
Component c2)
Links edge
e1 of component c1 to
edge e2 of component c2,
with a fixed distance between the edges. |
private void |
SpringLayout.putConstraint(String e,
Component c,
Spring s) |
void |
SpringLayout.putConstraint(String e1,
Component c1,
Spring s,
String e2,
Component c2)
Links edge
e1 of component c1 to
edge e2 of component c2. |
void |
JSpinner.DisabledAction.putValue(String key,
Object value) |
void |
JComponent.ActionStandin.putValue(String key,
Object value) |
void |
Action.putValue(String key,
Object value)
Sets one of this object's properties
using the associated key.
|
void |
AbstractAction.putValue(String key,
Object newValue)
Sets the
Value associated with the specified key. |
static <M,I> RowFilter<M,I> |
RowFilter.regexFilter(String regex,
int... indices)
Returns a
RowFilter that uses a regular
expression to determine which entries to include. |
static void |
JEditorPane.registerEditorKitForContentType(String type,
String classname)
Establishes the default bindings of
type to
classname. |
static void |
JEditorPane.registerEditorKitForContentType(String type,
String classname,
ClassLoader loader)
Establishes the default bindings of
type to
classname. |
void |
JComponent.registerKeyboardAction(ActionListener anAction,
String aCommand,
KeyStroke aKeyStroke,
int aCondition)
This method is now obsolete, please use a combination of
getActionMap() and getInputMap() for
similiar behavior. |
void |
DelegatingDefaultFocusManager.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
UIDefaults.removeResourceBundle(String bundleName)
Removes a resource bundle from the list of resource bundles that are
searched for localized defaults.
|
void |
JTextPane.removeStyle(String nm)
Removes a named non-
null style previously added to
the document. |
void |
DelegatingDefaultFocusManager.removeVetoableChangeListener(String propertyName,
VetoableChangeListener listener) |
void |
JSpinner.ListEditor.ListFormatter.Filter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String string,
AttributeSet attrs) |
void |
JTextArea.replaceRange(String str,
int start,
int end)
Replaces text from the indicated start to end position with the
new text specified.
|
void |
JTextPane.replaceSelection(String content)
Replaces the currently selected content with new content
represented by the given string.
|
void |
JEditorPane.replaceSelection(String content)
Replaces the currently selected content with new content
represented by the given string.
|
private void |
JTextPane.replaceSelection(String content,
boolean checkEditable) |
void |
JSpinner.AccessibleJSpinner.replaceText(int startIndex,
int endIndex,
String s)
Replaces the text between two indices with the specified
string.
|
void |
JEditorPane.scrollToReference(String reference)
Scrolls the view to the given reference location
(that is, the value returned by the
UL.getRef
method for the URL being displayed). |
void |
JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleDescription(String s)
Set the accessible description of this object.
|
void |
JTable.AccessibleJTable.AccessibleJTableCell.setAccessibleDescription(String s)
Sets the accessible description of this object.
|
void |
JTable.AccessibleJTable.AccessibleJTableHeaderCell.setAccessibleDescription(String s)
Sets the accessible description of this object.
|
void |
JList.AccessibleJList.AccessibleJListChild.setAccessibleDescription(String s) |
void |
JComboBox.AccessibleJComboBox.EditorAccessibleContext.setAccessibleDescription(String s)
Sets the accessible description of this object.
|
void |
ImageIcon.AccessibleImageIcon.setAccessibleIconDescription(String description)
Sets the description of the icon.
|
void |
JTree.AccessibleJTree.AccessibleJTreeNode.setAccessibleName(String s)
Set the localized accessible name of this object.
|
void |
JTable.AccessibleJTable.AccessibleJTableCell.setAccessibleName(String s)
Sets the localized accessible name of this object.
|
void |
JTable.AccessibleJTable.AccessibleJTableHeaderCell.setAccessibleName(String s)
Sets the localized accessible name of this object.
|
void |
JList.AccessibleJList.AccessibleJListChild.setAccessibleName(String s) |
void |
JComboBox.AccessibleJComboBox.EditorAccessibleContext.setAccessibleName(String s)
Sets the localized accessible name of this object.
|
void |
Timer.setActionCommand(String command)
Sets the string that will be delivered as the action command
in
ActionEvents fired by this timer. |
void |
JTextField.setActionCommand(String command)
Sets the command string used for action events.
|
void |
JComboBox.setActionCommand(String aCommand)
Sets the action command that should be included in the event
sent to action listeners.
|
void |
DefaultButtonModel.setActionCommand(String actionCommand)
Sets the action command string that gets sent as part of the
ActionEvent when the button is triggered. |
void |
ButtonModel.setActionCommand(String s)
Sets the action command string that gets sent as part of the
ActionEvent when the button is triggered. |
void |
AbstractButton.setActionCommand(String actionCommand)
Sets the action command for this button.
|
void |
JFileChooser.setApproveButtonText(String approveButtonText)
Sets the text used in the
ApproveButton in the
FileChooserUI. |
void |
JFileChooser.setApproveButtonToolTipText(String toolTipText)
Sets the tooltip text used in the
ApproveButton. |
private void |
JEditorPane.setCharsetFromContentTypeParameters(String paramlist)
This method gets the charset information specified as part
of the content type in the http header information.
|
void |
SpringLayout.Constraints.setConstraint(String edgeName,
Spring s)
Sets the spring controlling the specified edge.
|
void |
JEditorPane.setContentType(String type)
Sets the type of content that this editor
handles.
|
void |
JScrollPane.setCorner(String key,
Component corner)
Adds a child that will appear in one of the scroll panes
corners, if there's room.
|
void |
ImageIcon.setDescription(String description)
Sets the description of the image.
|
void |
JFileChooser.setDialogTitle(String dialogTitle)
Sets the string that goes in the
JFileChooser window's
title bar. |
void |
JEditorPane.setEditorKitForContentType(String type,
EditorKit k)
Directly sets the editor kit to use for the given type.
|
void |
JPopupMenu.setLabel(String label)
Sets the popup menu's label.
|
void |
AbstractButton.setLabel(String label)
Deprecated.
- Replaced by
setText(text) |
private void |
JTable.setLazyEditor(Class c,
String s) |
private void |
JTable.setLazyRenderer(Class c,
String s) |
private void |
JTable.setLazyValue(Hashtable h,
Class c,
String s) |
static void |
UIManager.setLookAndFeel(String className)
Loads the
LookAndFeel specified by the given class
name, using the current thread's context class loader, and
passes it to setLookAndFeel(LookAndFeel). |
void |
ProgressMonitor.setNote(String note)
Specifies the additional note that is displayed along with the
progress message.
|
void |
JEditorPane.setPage(String url)
Sets the current URL being displayed.
|
void |
JProgressBar.setString(String s)
Sets the value of the progress string.
|
void |
JLabel.setText(String text)
Defines the single line of text this component will display.
|
void |
JEditorPane.setText(String t)
Sets the text of this
TextComponent to the specified
content,
which is expected to be in the format of the content type of
this editor. |
void |
AbstractButton.setText(String text)
Sets the button's text.
|
void |
JSpinner.AccessibleJSpinner.setTextContents(String s)
Sets the text contents to the specified string.
|
void |
JToolTip.setTipText(String tipText)
Sets the text to show when the tool tip is displayed.
|
void |
JInternalFrame.setTitle(String title)
Sets the
JInternalFrame title. |
void |
JTabbedPane.setTitleAt(int index,
String title)
Sets the title at
index to title which
can be null. |
void |
JComponent.setToolTipText(String text)
Registers the text to display in a tool tip.
|
void |
JTabbedPane.setToolTipTextAt(int index,
String toolTipText)
Sets the tooltip text at
index to toolTipText
which can be null. |
(package private) void |
JTree.setUIProperty(String propertyName,
Object value) |
(package private) void |
JTable.setUIProperty(String propertyName,
Object value) |
(package private) void |
JSplitPane.setUIProperty(String propertyName,
Object value) |
(package private) void |
JDesktopPane.setUIProperty(String propertyName,
Object value) |
(package private) void |
JComponent.setUIProperty(String propertyName,
Object value) |
(package private) void |
AbstractButton.setUIProperty(String propertyName,
Object value) |
static int |
JOptionPane.showConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType)
Brings up a dialog where the number of choices is determined
by the
optionType parameter. |
static int |
JOptionPane.showConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType)
Brings up a dialog where the number of choices is determined
by the
optionType parameter, where the
messageType
parameter determines the icon to display. |
static int |
JOptionPane.showConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon)
Brings up a dialog with a specified icon, where the number of
choices is determined by the
optionType parameter. |
int |
JFileChooser.showDialog(Component parent,
String approveButtonText)
Pops a custom file chooser dialog with a custom approve button.
|
static Color |
JColorChooser.showDialog(Component component,
String title,
Color initialColor)
Shows a modal color-chooser dialog and blocks until the
dialog is hidden.
|
static String |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows a dialog requesting input from the user parented to
parentComponent with the dialog having the title
title and message type messageType. |
static Object |
JOptionPane.showInputDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon,
Object[] selectionValues,
Object initialSelectionValue)
Prompts the user for input in a blocking dialog where the
initial selection, possible selections, and all other options can
be specified.
|
static int |
JOptionPane.showInternalConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType)
Brings up a internal dialog panel where the number of choices
is determined by the
optionType parameter. |
static int |
JOptionPane.showInternalConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType)
Brings up an internal dialog panel where the number of choices
is determined by the
optionType parameter, where
the messageType parameter determines the icon to display. |
static int |
JOptionPane.showInternalConfirmDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon)
Brings up an internal dialog panel with a specified icon, where
the number of choices is determined by the
optionType
parameter. |
static String |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message,
String title,
int messageType)
Shows an internal dialog requesting input from the user parented
to
parentComponent with the dialog having the title
title and message type messageType. |
static Object |
JOptionPane.showInternalInputDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon,
Object[] selectionValues,
Object initialSelectionValue)
Prompts the user for input in a blocking internal dialog where
the initial selection, possible selections, and all other
options can be specified.
|
static void |
JOptionPane.showInternalMessageDialog(Component parentComponent,
Object message,
String title,
int messageType)
Brings up an internal dialog panel that displays a message
using a default icon determined by the
messageType
parameter. |
static void |
JOptionPane.showInternalMessageDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon)
Brings up an internal dialog panel displaying a message,
specifying all parameters.
|
static int |
JOptionPane.showInternalOptionDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon,
Object[] options,
Object initialValue)
Brings up an internal dialog panel with a specified icon, where
the initial choice is determined by the
initialValue
parameter and the number of choices is determined by the
optionType parameter. |
static void |
JOptionPane.showMessageDialog(Component parentComponent,
Object message,
String title,
int messageType)
Brings up a dialog that displays a message using a default
icon determined by the
messageType parameter. |
static void |
JOptionPane.showMessageDialog(Component parentComponent,
Object message,
String title,
int messageType,
Icon icon)
Brings up a dialog displaying a message, specifying all parameters.
|
static int |
JOptionPane.showOptionDialog(Component parentComponent,
Object message,
String title,
int optionType,
int messageType,
Icon icon,
Object[] options,
Object initialValue)
Brings up a dialog with a specified icon, where the initial
choice is determined by the
initialValue parameter and
the number of choices is determined by the optionType
parameter. |
Object |
JSpinner.ListEditor.ListFormatter.stringToValue(String string) |
abstract Object |
JFormattedTextField.AbstractFormatter.stringToValue(String text)
Parses
text returning an arbitrary Object. |
private void |
AbstractButton.updateDisplayedMnemonicIndex(String text,
int mnemonic)
Update the displayedMnemonicIndex property.
|
static SwingWorker.StateValue |
SwingWorker.StateValue.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortOrder |
SortOrder.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RowFilter.ComparisonType |
RowFilter.ComparisonType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiUIDefaults.MultiUIDefaultsEnumerator.Type |
MultiUIDefaults.MultiUIDefaultsEnumerator.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutStyle.ComponentPlacement |
LayoutStyle.ComponentPlacement.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JTable.PrintMode |
JTable.PrintMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupLayout.Alignment |
GroupLayout.Alignment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DropMode |
DropMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientPropertyKey |
ClientPropertyKey.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
SpringLayout.applyDefaults(SpringLayout.Constraints constraints,
String name1,
Spring spring1,
String name2,
Spring spring2,
List<String> history) |
| Constructor and Description |
|---|
AbstractAction(String name)
Creates an
Action with the specified name. |
AbstractAction(String name,
Icon icon)
Creates an
Action with the specified name and small icon. |
ColorChooserDialog(Dialog owner,
String title,
boolean modal,
Component c,
JColorChooser chooserPane,
ActionListener okListener,
ActionListener cancelListener) |
ColorChooserDialog(Frame owner,
String title,
boolean modal,
Component c,
JColorChooser chooserPane,
ActionListener okListener,
ActionListener cancelListener) |
ImageIcon(byte[] imageData,
String description)
Creates an ImageIcon from an array of bytes which were
read from an image file containing a supported image format,
such as GIF, JPEG, or (as of 1.3) PNG.
|
ImageIcon(Image image,
String description)
Creates an ImageIcon from the image.
|
ImageIcon(String filename)
Creates an ImageIcon from the specified file.
|
ImageIcon(String filename,
String description)
Creates an ImageIcon from the specified file.
|
ImageIcon(URL location,
String description)
Creates an ImageIcon from the specified URL.
|
JButton(String text)
Creates a button with text.
|
JButton(String text,
Icon icon)
Creates a button with initial text and an icon.
|
JCheckBox(String text)
Creates an initially unselected check box with text.
|
JCheckBox(String text,
boolean selected)
Creates a check box with text and specifies whether
or not it is initially selected.
|
JCheckBox(String text,
Icon icon)
Creates an initially unselected check box with
the specified text and icon.
|
JCheckBox(String text,
Icon icon,
boolean selected)
Creates a check box with text and icon,
and specifies whether or not it is initially selected.
|
JCheckBoxMenuItem(String text)
Creates an initially unselected check box menu item with text.
|
JCheckBoxMenuItem(String text,
boolean b)
Creates a check box menu item with the specified text and selection state.
|
JCheckBoxMenuItem(String text,
Icon icon)
Creates an initially unselected check box menu item with the specified text and icon.
|
JCheckBoxMenuItem(String text,
Icon icon,
boolean b)
Creates a check box menu item with the specified text, icon, and selection state.
|
JComponent.ActionStandin(ActionListener actionListener,
String command) |
JDialog(Dialog owner,
String title)
Creates a modeless dialog with the specified title and
with the specified owner dialog.
|
JDialog(Dialog owner,
String title,
boolean modal)
Creates a dialog with the specified title, modality
and the specified owner
Dialog. |
JDialog(Dialog owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Creates a dialog with the specified title, owner
Dialog,
modality and GraphicsConfiguration. |
JDialog(Frame owner,
String title)
Creates a modeless dialog with the specified title and
with the specified owner frame.
|
JDialog(Frame owner,
String title,
boolean modal)
Creates a dialog with the specified title, owner
Frame
and modality. |
JDialog(Frame owner,
String title,
boolean modal,
GraphicsConfiguration gc)
Creates a dialog with the specified title,
owner
Frame, modality and GraphicsConfiguration. |
JDialog(Window owner,
String title)
Creates a modeless dialog with the specified title and owner
Window. |
JDialog(Window owner,
String title,
Dialog.ModalityType modalityType)
Creates a dialog with the specified title, owner
Window and
modality. |
JDialog(Window owner,
String title,
Dialog.ModalityType modalityType,
GraphicsConfiguration gc)
Creates a dialog with the specified title, owner
Window,
modality and GraphicsConfiguration. |
JEditorPane.HeaderParser(String raw) |
JEditorPane(String url)
Creates a
JEditorPane based on a string containing
a URL specification. |
JEditorPane(String type,
String text)
Creates a
JEditorPane that has been initialized
to the given text. |
JFileChooser(String currentDirectoryPath)
Constructs a
JFileChooser using the given path. |
JFileChooser(String currentDirectoryPath,
FileSystemView fsv)
Constructs a
JFileChooser using the given current directory
path and FileSystemView. |
JFrame(String title)
Creates a new, initially invisible
Frame with the
specified title. |
JFrame(String title,
GraphicsConfiguration gc)
Creates a
JFrame with the specified title and the
specified GraphicsConfiguration of a screen device. |
JInternalFrame(String title)
Creates a non-resizable, non-closable, non-maximizable,
non-iconifiable
JInternalFrame with the specified title. |
JInternalFrame(String title,
boolean resizable)
Creates a non-closable, non-maximizable, non-iconifiable
JInternalFrame with the specified title
and resizability. |
JInternalFrame(String title,
boolean resizable,
boolean closable)
Creates a non-maximizable, non-iconifiable
JInternalFrame
with the specified title, resizability, and
closability. |
JInternalFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable)
Creates a non-iconifiable
JInternalFrame
with the specified title,
resizability, closability, and maximizability. |
JInternalFrame(String title,
boolean resizable,
boolean closable,
boolean maximizable,
boolean iconifiable)
Creates a
JInternalFrame with the specified title,
resizability, closability, maximizability, and iconifiability. |
JLabel(String text)
Creates a
JLabel instance with the specified text. |
JLabel(String text,
Icon icon,
int horizontalAlignment)
Creates a
JLabel instance with the specified
text, image, and horizontal alignment. |
JLabel(String text,
int horizontalAlignment)
Creates a
JLabel instance with the specified
text and horizontal alignment. |
JMenu(String s)
Constructs a new
JMenu with the supplied string
as its text. |
JMenu(String s,
boolean b)
Constructs a new
JMenu with the supplied string as
its text and specified as a tear-off menu or not. |
JMenuItem(String text)
Creates a
JMenuItem with the specified text. |
JMenuItem(String text,
Icon icon)
Creates a
JMenuItem with the specified text and icon. |
JMenuItem(String text,
int mnemonic)
Creates a
JMenuItem with the specified text and
keyboard mnemonic. |
JOptionPane.ModalPrivilegedAction(Class<?> clazz,
String methodName) |
JPasswordField(Document doc,
String txt,
int columns)
Constructs a new
JPasswordField that uses the
given text storage model and the given number of columns. |
JPasswordField(String text)
Constructs a new
JPasswordField initialized
with the specified text. |
JPasswordField(String text,
int columns)
Constructs a new
JPasswordField initialized with
the specified text and columns. |
JPopupMenu(String label)
Constructs a
JPopupMenu with the specified title. |
JRadioButton(String text)
Creates an unselected radio button with the specified text.
|
JRadioButton(String text,
boolean selected)
Creates a radio button with the specified text
and selection state.
|
JRadioButton(String text,
Icon icon)
Creates a radio button that has the specified text and image,
and that is initially unselected.
|
JRadioButton(String text,
Icon icon,
boolean selected)
Creates a radio button that has the specified text, image,
and selection state.
|
JRadioButtonMenuItem(String text)
Creates a
JRadioButtonMenuItem with text. |
JRadioButtonMenuItem(String text,
boolean selected)
Creates a radio button menu item with the specified text
and selection state.
|
JRadioButtonMenuItem(String text,
Icon icon)
Creates a radio button menu item with the specified text
and
Icon. |
JRadioButtonMenuItem(String text,
Icon icon,
boolean selected)
Creates a radio button menu item that has the specified
text, image, and selection state.
|
JSpinner.DateEditor(JSpinner spinner,
String dateFormatPattern)
Construct a
JSpinner editor that supports displaying
and editing the value of a SpinnerDateModel
with a JFormattedTextField. |
JSpinner.NumberEditor(JSpinner spinner,
String decimalFormatPattern)
Construct a
JSpinner editor that supports displaying
and editing the value of a SpinnerNumberModel
with a JFormattedTextField. |
JTabbedPane.Page(JTabbedPane parent,
String title,
Icon icon,
Icon disabledIcon,
Component component,
String tip) |
JTextArea(Document doc,
String text,
int rows,
int columns)
Constructs a new JTextArea with the specified number of rows
and columns, and the given model.
|
JTextArea(String text)
Constructs a new TextArea with the specified text displayed.
|
JTextArea(String text,
int rows,
int columns)
Constructs a new TextArea with the specified text and number
of rows and columns.
|
JTextField(Document doc,
String text,
int columns)
Constructs a new
JTextField that uses the given text
storage model and the given number of columns. |
JTextField(String text)
Constructs a new
TextField initialized with the
specified text. |
JTextField(String text,
int columns)
Constructs a new
TextField initialized with the
specified text and columns. |
JToggleButton(String text)
Creates an unselected toggle button with the specified text.
|
JToggleButton(String text,
boolean selected)
Creates a toggle button with the specified text
and selection state.
|
JToggleButton(String text,
Icon icon)
Creates a toggle button that has the specified text and image,
and that is initially unselected.
|
JToggleButton(String text,
Icon icon,
boolean selected)
Creates a toggle button with the specified text, image, and
selection state.
|
JToolBar(String name)
Creates a new tool bar with the specified
name. |
JToolBar(String name,
int orientation)
Creates a new tool bar with a specified
name and
orientation. |
ProgressMonitor(Component parentComponent,
Object message,
String note,
int min,
int max)
Constructs a graphic object that shows progress, typically by filling
in a rectangular bar as the process nears completion.
|
ProgressMonitor(Component parentComponent,
Object message,
String note,
int min,
int max,
ProgressMonitor group) |
SpringLayout.SpringProxy(String edgeName,
Component c,
SpringLayout l) |
TransferHandler.TransferAction(String name) |
TransferHandler(String property)
Constructs a transfer handler that can transfer a Java Bean property
from one component to another via the clipboard or a drag and drop
operation.
|
UIDefaults.ProxyLazyValue(String c)
Creates a
LazyValue which will construct an instance
when asked. |
UIDefaults.ProxyLazyValue(String c,
Object[] o)
Creates a
LazyValue which will construct an instance
when asked. |
UIDefaults.ProxyLazyValue(String c,
String m)
Creates a
LazyValue which will construct an instance
when asked. |
UIDefaults.ProxyLazyValue(String c,
String m,
Object[] o)
Creates a
LazyValue which will construct an instance
when asked. |
UIManager.LookAndFeelInfo(String name,
String className)
Constructs a
UIManagers
LookAndFeelInfo object. |
UnsupportedLookAndFeelException(String s)
Constructs an UnsupportedLookAndFeelException object.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
TitledBorder.title |
| Modifier and Type | Method and Description |
|---|---|
String |
TitledBorder.getTitle()
Returns the title of the titled border.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TitledBorder.setTitle(String title)
Sets the title of the titled border.
|
| Constructor and Description |
|---|
TitledBorder(Border border,
String title)
Creates a TitledBorder instance with the specified border
and title.
|
TitledBorder(Border border,
String title,
int titleJustification,
int titlePosition)
Creates a TitledBorder instance with the specified border,
title, title-justification, and title-position.
|
TitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont)
Creates a TitledBorder instance with the specified border,
title, title-justification, title-position, and title-font.
|
TitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor)
Creates a TitledBorder instance with the specified border,
title, title-justification, title-position, title-font, and
title-color.
|
TitledBorder(String title)
Creates a TitledBorder instance.
|
| Modifier and Type | Field and Description |
|---|---|
private String[] |
ColorModel.labels |
private String |
ColorModel.prefix |
private String |
DefaultPreviewPanel.sampleText |
| Modifier and Type | Method and Description |
|---|---|
String |
DefaultSwatchChooserPanel.getDisplayName() |
String |
ColorChooserPanel.getDisplayName() |
abstract String |
AbstractColorChooserPanel.getDisplayName()
Returns a string containing the display name of the panel.
|
(package private) String |
ColorModel.getLabel(Component component,
int index) |
private String |
DefaultPreviewPanel.getSampleText() |
(package private) String |
ColorModel.getText(Component component,
String suffix) |
String |
SwatchPanel.getToolTipText(MouseEvent e) |
String |
ValueFormatter.valueToString(Object object) |
| Modifier and Type | Method and Description |
|---|---|
void |
SmartGridLayout.addLayoutComponent(String s,
Component c) |
void |
CenterLayout.addLayoutComponent(String name,
Component comp) |
(package private) int |
ColorModel.getInteger(Component component,
String suffix) |
(package private) String |
ColorModel.getText(Component component,
String suffix) |
private boolean |
ValueFormatter.isValid(String text) |
Object |
ValueFormatter.stringToValue(String text) |
| Constructor and Description |
|---|
ColorModel(String name,
String... labels) |
ColorModel(String name,
String... labels) |
| Modifier and Type | Field and Description |
|---|---|
private String |
HyperlinkEvent.desc |
private String |
HyperlinkEvent.EventType.typeString |
private String |
DocumentEvent.EventType.typeString |
| Modifier and Type | Method and Description |
|---|---|
String |
HyperlinkEvent.getDescription()
Get the description of the link as a string.
|
String |
InternalFrameEvent.paramString()
Returns a parameter string identifying this event.
|
String |
TreeModelEvent.toString()
Returns a string that displays and identifies this object's
properties.
|
String |
ListSelectionEvent.toString()
Returns a
String that displays and identifies this
object's properties. |
String |
ListDataEvent.toString()
Returns a string representation of this ListDataEvent.
|
String |
HyperlinkEvent.EventType.toString()
Converts the type to a string.
|
String |
EventListenerList.toString()
Returns a string representation of the EventListenerList.
|
String |
DocumentEvent.EventType.toString()
Converts the type to a string.
|
| Modifier and Type | Method and Description |
|---|---|
static RowSorterEvent.Type |
RowSorterEvent.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
DocumentEvent.EventType(String s) |
HyperlinkEvent.EventType(String s) |
HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL u,
String desc)
Creates a new object representing a hypertext link event.
|
HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL u,
String desc,
Element sourceElement)
Creates a new object representing a hypertext link event.
|
HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL u,
String desc,
Element sourceElement,
InputEvent inputEvent)
Creates a new object representing a hypertext link event.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
FileNameExtensionFilter.description |
private String[] |
FileNameExtensionFilter.extensions |
private String[] |
FileNameExtensionFilter.lowerCaseExtensions |
private static String |
WindowsFileSystemView.newFolderNextString |
private static String |
UnixFileSystemView.newFolderNextString |
private static String |
WindowsFileSystemView.newFolderString |
private static String |
UnixFileSystemView.newFolderString |
private static String |
GenericFileSystemView.newFolderString |
| Modifier and Type | Method and Description |
|---|---|
String |
FileNameExtensionFilter.getDescription()
The description of this filter.
|
abstract String |
FileFilter.getDescription()
The description of this filter.
|
String |
FileView.getDescription(File f)
A human readable description of the file.
|
String[] |
FileNameExtensionFilter.getExtensions()
Returns the set of file name extensions files are tested against.
|
String |
FileSystemView.FileSystemRoot.getName() |
String |
FileView.getName(File f)
The name of the file.
|
String |
FileSystemView.getSystemDisplayName(File f)
Name of a file, directory, or folder as it would be displayed in
a system file browser.
|
String |
WindowsFileSystemView.getSystemTypeDescription(File f)
Type description for a file, directory, or folder as it would be displayed in
a system file browser.
|
String |
FileSystemView.getSystemTypeDescription(File f)
Type description for a file, directory, or folder as it would be displayed in
a system file browser.
|
String |
FileView.getTypeDescription(File f)
A human readable description of the type of the file.
|
String |
FileNameExtensionFilter.toString()
Returns a string representation of the
FileNameExtensionFilter. |
| Modifier and Type | Method and Description |
|---|---|
File |
FileSystemView.createFileObject(File dir,
String filename)
Returns a File object constructed in dir from the given filename.
|
File |
WindowsFileSystemView.createFileObject(String path)
Returns a File object constructed from the given path string.
|
File |
FileSystemView.createFileObject(String path)
Returns a File object constructed from the given path string.
|
File |
WindowsFileSystemView.getChild(File parent,
String fileName) |
File |
FileSystemView.getChild(File parent,
String fileName) |
| Constructor and Description |
|---|
FileNameExtensionFilter(String description,
String... extensions)
Creates a
FileNameExtensionFilter with the specified
description and file name extensions. |
FileNameExtensionFilter(String description,
String... extensions)
Creates a
FileNameExtensionFilter with the specified
description and file name extensions. |
FileSystemView.FileSystemRoot(String s) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
FileChooserUI.getApproveButtonText(JFileChooser fc) |
abstract String |
FileChooserUI.getDialogTitle(JFileChooser fc) |
String |
TextUI.getToolTipText(JTextComponent t,
Point pt)
Returns the string to be used as the tooltip at the passed in location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LayerUI.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific
property.
|
protected void |
LayerUI.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for Object properties.
|
PropertyChangeListener[] |
LayerUI.getPropertyChangeListeners(String propertyName)
Returns an array of all the listeners which have been associated
with the named property.
|
void |
LayerUI.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes a
PropertyChangeListener from the listener
list for a specific property. |
| Constructor and Description |
|---|
BorderUIResource.TitledBorderUIResource(Border border,
String title) |
BorderUIResource.TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition) |
BorderUIResource.TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont) |
BorderUIResource.TitledBorderUIResource(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor) |
BorderUIResource.TitledBorderUIResource(String title) |
FontUIResource(String name,
int style,
int size) |
| Modifier and Type | Field and Description |
|---|---|
protected String |
BasicMenuItemUI.acceleratorDelimiter
Accelerator delimiter string, such as
'+' in 'Ctrl+C'. |
private static String |
BasicTreeUI.Actions.ADD_TO_SELECTION |
private static String |
BasicTableUI.Actions.ADD_TO_SELECTION |
private static String |
BasicListUI.Actions.ADD_TO_SELECTION |
private String |
BasicLookAndFeel.AudioAction.audioResource |
private static String |
BasicPopupMenuUI.Actions.CANCEL |
private static String |
BasicTreeUI.Actions.CANCEL_EDITING |
private static String |
BasicTableUI.Actions.CANCEL_EDITING |
protected String |
BasicFileChooserUI.cancelButtonText |
protected String |
BasicFileChooserUI.cancelButtonToolTipText |
private static String |
BasicTreeUI.Actions.CLEAR_SELECTION |
private static String |
BasicTableUI.Actions.CLEAR_SELECTION |
private static String |
BasicListUI.Actions.CLEAR_SELECTION |
private static String |
BasicMenuItemUI.Actions.CLICK |
private static String |
BasicOptionPaneUI.Actions.CLOSE |
private static String |
BasicDesktopPaneUI.Actions.CLOSE |
protected static String |
BasicInternalFrameTitlePane.CLOSE_CMD |
private String |
BasicInternalFrameTitlePane.closeButtonToolTip |
private static String |
BasicTreeUI.Actions.COLLAPSE |
protected String |
BasicToolBarUI.constraintBeforeFloating |
private String |
BasicFileChooserUI.directoryDescriptionText |
protected String |
BasicFileChooserUI.directoryOpenButtonText
The label text displayed on the approve button when a directory
is selected and the current selection mode is FILES_ONLY.
|
protected String |
BasicFileChooserUI.directoryOpenButtonToolTipText
The tooltip text displayed on the approve button when a directory
is selected and the current selection mode is FILES_ONLY.
|
static String |
BasicHTML.documentBaseKey
Key stored as a client property to indicate the base that relative
references are resolved against.
|
(package private) static String |
BasicTabbedPaneUI.Actions.DOWN |
private static String |
BasicDesktopPaneUI.Actions.DOWN |
private static String |
BasicComboBoxUI.Actions.DOWN |
private static String |
BasicComboBoxUI.Actions.DOWN_2 |
private static String |
BasicComboBoxUI.Actions.END |
private static String |
BasicComboBoxUI.Actions.ENTER |
private static String |
BasicDesktopPaneUI.Actions.ESCAPE |
private static String |
BasicTreeUI.Actions.EXPAND |
private static String |
BasicTreeUI.Actions.EXTEND_TO |
private static String |
BasicTableUI.Actions.EXTEND_TO |
private static String |
BasicListUI.Actions.EXTEND_TO |
private String |
BasicFileChooserUI.fileDescriptionText |
private static String |
BasicTableUI.Actions.FIRST_COLUMN |
private static String |
BasicTableUI.Actions.FIRST_COLUMN_EXTEND_SELECTION |
private static String |
BasicTableUI.Actions.FIRST_ROW |
private static String |
BasicTableUI.Actions.FIRST_ROW_EXTEND_SELECTION |
private static String |
BasicTableUI.Actions.FOCUS_HEADER |
private static String |
BasicSplitPaneUI.Actions.FOCUS_OUT_BACKWARD |
private static String |
BasicSplitPaneUI.Actions.FOCUS_OUT_FORWARD |
static String |
BasicTableHeaderUI.Actions.FOCUS_TABLE |
private static String |
BasicToolBarUI.FOCUSED_COMP_INDEX |
private static String |
BasicEditorPaneUI.FONT_ATTRIBUTE_KEY
Attribute key to reference the default font.
|
(package private) String |
BasicFileChooserUI.GlobFilter.globPattern |
protected String |
BasicFileChooserUI.helpButtonText |
protected String |
BasicFileChooserUI.helpButtonToolTipText |
private static String |
BasicComboBoxUI.Actions.HIDE |
private static String |
BasicComboBoxUI.Actions.HOME |
protected String |
BasicTransferable.htmlData |
private static String |
BasicHTML.htmlDisable
If this client property of a JComponent is set to Boolean.TRUE
the component's 'text' property is never treated as HTML.
|
private String |
BasicInternalFrameTitlePane.iconButtonToolTip |
protected static String |
BasicInternalFrameTitlePane.ICONIFY_CMD |
private static String |
BasicToolBarUI.IS_ROLLOVER |
private static String |
BasicComboBoxUI.IS_TABLE_CELL_EDITOR |
private static String |
BasicTableUI.Actions.LAST_COLUMN |
private static String |
BasicTableUI.Actions.LAST_COLUMN_EXTEND_SELECTION |
private static String |
BasicTableUI.Actions.LAST_ROW |
private static String |
BasicTableUI.Actions.LAST_ROW_EXTEND_SELECTION |
(package private) static String |
BasicTabbedPaneUI.Actions.LEFT |
private static String |
BasicDesktopPaneUI.Actions.LEFT |
private static String |
BasicScrollBarUI.Actions.MAX_SCROLL |
static String |
BasicSliderUI.Actions.MAX_SCROLL_INCREMENT |
private String |
BasicInternalFrameTitlePane.maxButtonToolTip |
private static String |
BasicDesktopPaneUI.Actions.MAXIMIZE |
protected static String |
BasicInternalFrameTitlePane.MAXIMIZE_CMD |
(package private) String |
BasicTextUI.TextTransferHandler.TextTransferable.mimeType |
private static String |
BasicScrollBarUI.Actions.MIN_SCROLL |
static String |
BasicSliderUI.Actions.MIN_SCROLL_INCREMENT |
private static String |
BasicDesktopPaneUI.Actions.MINIMIZE |
private static String |
BasicDesktopPaneUI.Actions.MOVE |
protected static String |
BasicInternalFrameTitlePane.MOVE_CMD |
static String |
BasicTableHeaderUI.Actions.MOVE_COLUMN_LEFT |
static String |
BasicTableHeaderUI.Actions.MOVE_COLUMN_RIGHT |
private static String |
BasicTreeUI.Actions.MOVE_SELECTION_TO |
private static String |
BasicTableUI.Actions.MOVE_SELECTION_TO |
private static String |
BasicListUI.Actions.MOVE_SELECTION_TO |
private static String |
BasicTreeUI.Actions.MOVE_SELECTION_TO_PARENT |
private static String |
BasicToolBarUI.Actions.NAVIGATE_DOWN |
private static String |
BasicToolBarUI.Actions.NAVIGATE_LEFT |
private static String |
BasicDesktopPaneUI.Actions.NAVIGATE_NEXT |
private static String |
BasicDesktopPaneUI.Actions.NAVIGATE_PREVIOUS |
private static String |
BasicToolBarUI.Actions.NAVIGATE_RIGHT |
private static String |
BasicToolBarUI.Actions.NAVIGATE_UP |
static String |
BasicSliderUI.Actions.NEGATIVE_BLOCK_INCREMENT |
private static String |
BasicScrollBarUI.Actions.NEGATIVE_BLOCK_INCREMENT |
private static String |
BasicSplitPaneUI.Actions.NEGATIVE_INCREMENT |
static String |
BasicSliderUI.Actions.NEGATIVE_UNIT_INCREMENT |
private static String |
BasicScrollBarUI.Actions.NEGATIVE_UNIT_INCREMENT |
private String |
BasicFileChooserUI.newFolderErrorSeparator |
private String |
BasicFileChooserUI.newFolderErrorText |
private String |
BasicFileChooserUI.newFolderParentDoesntExistText |
private String |
BasicFileChooserUI.newFolderParentDoesntExistTitleText |
private static String |
BasicOptionPaneUI.newline |
(package private) static String |
BasicTabbedPaneUI.Actions.NEXT |
private static String |
BasicTableUI.Actions.NEXT_COLUMN |
private static String |
BasicTableUI.Actions.NEXT_COLUMN_CELL |
private static String |
BasicTableUI.Actions.NEXT_COLUMN_CHANGE_LEAD |
private static String |
BasicTableUI.Actions.NEXT_COLUMN_EXTEND_SELECTION |
private static String |
BasicDesktopPaneUI.Actions.NEXT_FRAME |
private static String |
BasicTableUI.Actions.NEXT_ROW |
private static String |
BasicTableUI.Actions.NEXT_ROW_CELL |
private static String |
BasicTableUI.Actions.NEXT_ROW_CHANGE_LEAD |
private static String |
BasicTableUI.Actions.NEXT_ROW_EXTEND_SELECTION |
protected static String |
BasicSplitPaneUI.NON_CONTINUOUS_DIVIDER
The divider used for non-continuous layout is added to the split pane
with this object.
|
protected String |
BasicFileChooserUI.openButtonText |
protected String |
BasicFileChooserUI.openButtonToolTipText |
private String |
BasicFileChooserUI.openDialogTitleText |
(package private) static String |
BasicTabbedPaneUI.Actions.PAGE_DOWN |
private static String |
BasicComboBoxUI.Actions.PAGE_DOWN |
(package private) static String |
BasicTabbedPaneUI.Actions.PAGE_UP |
private static String |
BasicComboBoxUI.Actions.PAGE_UP |
protected String |
BasicTransferable.plainData |
static String |
BasicSliderUI.Actions.POSITIVE_BLOCK_INCREMENT |
private static String |
BasicScrollBarUI.Actions.POSITIVE_BLOCK_INCREMENT |
private static String |
BasicSplitPaneUI.Actions.POSITIVE_INCREMENT |
static String |
BasicSliderUI.Actions.POSITIVE_UNIT_INCREMENT |
private static String |
BasicScrollBarUI.Actions.POSITIVE_UNIT_INCREMENT |
static String |
BasicRootPaneUI.Actions.POST_POPUP |
private String |
BasicTreeUI.Handler.prefix |
private String |
BasicListUI.Handler.prefix |
private String |
BasicComboBoxUI.DefaultKeySelectionManager.prefix |
static String |
BasicRootPaneUI.Actions.PRESS |
private static String |
BasicLabelUI.Actions.PRESS |
private static String |
BasicButtonListener.Actions.PRESS |
(package private) static String |
BasicTabbedPaneUI.Actions.PREVIOUS |
private static String |
BasicTableUI.Actions.PREVIOUS_COLUMN |
private static String |
BasicTableUI.Actions.PREVIOUS_COLUMN_CELL |
private static String |
BasicTableUI.Actions.PREVIOUS_COLUMN_CHANGE_LEAD |
private static String |
BasicTableUI.Actions.PREVIOUS_COLUMN_EXTEND_SELECTION |
private static String |
BasicDesktopPaneUI.Actions.PREVIOUS_FRAME |
private static String |
BasicTableUI.Actions.PREVIOUS_ROW |
private static String |
BasicTableUI.Actions.PREVIOUS_ROW_CELL |
private static String |
BasicTableUI.Actions.PREVIOUS_ROW_CHANGE_LEAD |
private static String |
BasicTableUI.Actions.PREVIOUS_ROW_EXTEND_SELECTION |
static String |
BasicHTML.propertyKey
Key to use for the html renderer when stored as a
client property of a JComponent.
|
private static String |
BasicToggleButtonUI.propertyPrefix |
private static String |
BasicRadioButtonUI.propertyPrefix |
private static String |
BasicCheckBoxUI.propertyPrefix |
private static String |
BasicButtonUI.propertyPrefix |
static String |
BasicRootPaneUI.Actions.RELEASE |
private static String |
BasicLabelUI.Actions.RELEASE |
private static String |
BasicButtonListener.Actions.RELEASE |
(package private) static String |
BasicTabbedPaneUI.Actions.REQUEST_FOCUS |
(package private) static String |
BasicTabbedPaneUI.Actions.REQUEST_FOCUS_FOR_VISIBLE |
private static String |
BasicDesktopPaneUI.Actions.RESIZE |
static String |
BasicTableHeaderUI.Actions.RESIZE_LEFT |
static String |
BasicTableHeaderUI.Actions.RESIZE_RIGHT |
private static String |
BasicDesktopPaneUI.Actions.RESTORE |
protected static String |
BasicInternalFrameTitlePane.RESTORE_CMD |
private String |
BasicInternalFrameTitlePane.restoreButtonToolTip |
private static String |
BasicPopupMenuUI.Actions.RETURN |
(package private) String |
BasicTextUI.TextTransferHandler.TextTransferable.richText |
(package private) static String |
BasicTabbedPaneUI.Actions.RIGHT |
private static String |
BasicDesktopPaneUI.Actions.RIGHT |
protected String |
BasicFileChooserUI.saveButtonText |
protected String |
BasicFileChooserUI.saveButtonToolTipText |
private String |
BasicFileChooserUI.saveDialogTitleText |
(package private) static String |
BasicTabbedPaneUI.Actions.SCROLL_BACKWARD |
private static String |
BasicScrollPaneUI.Actions.SCROLL_DOWN |
private static String |
BasicListUI.Actions.SCROLL_DOWN |
private static String |
BasicTreeUI.Actions.SCROLL_DOWN_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SCROLL_DOWN_CHANGE_LEAD |
private static String |
BasicTreeUI.Actions.SCROLL_DOWN_CHANGE_SELECTION |
private static String |
BasicTableUI.Actions.SCROLL_DOWN_CHANGE_SELECTION |
private static String |
BasicListUI.Actions.SCROLL_DOWN_EXTEND |
private static String |
BasicTreeUI.Actions.SCROLL_DOWN_EXTEND_SELECTION |
private static String |
BasicTableUI.Actions.SCROLL_DOWN_EXTEND_SELECTION |
private static String |
BasicScrollPaneUI.Actions.SCROLL_END |
(package private) static String |
BasicTabbedPaneUI.Actions.SCROLL_FORWARD |
private static String |
BasicScrollPaneUI.Actions.SCROLL_HOME |
private static String |
BasicTreeUI.Actions.SCROLL_LEFT |
private static String |
BasicScrollPaneUI.Actions.SCROLL_LEFT |
private static String |
BasicTreeUI.Actions.SCROLL_LEFT_CHANGE_LEAD |
private static String |
BasicTableUI.Actions.SCROLL_LEFT_CHANGE_SELECTION |
private static String |
BasicTreeUI.Actions.SCROLL_LEFT_EXTEND_SELECTION |
private static String |
BasicTableUI.Actions.SCROLL_LEFT_EXTEND_SELECTION |
private static String |
BasicTreeUI.Actions.SCROLL_RIGHT |
private static String |
BasicScrollPaneUI.Actions.SCROLL_RIGHT |
private static String |
BasicTreeUI.Actions.SCROLL_RIGHT_CHANGE_LEAD |
private static String |
BasicTableUI.Actions.SCROLL_RIGHT_CHANGE_SELECTION |
private static String |
BasicTreeUI.Actions.SCROLL_RIGHT_EXTEND_SELECTION |
private static String |
BasicTableUI.Actions.SCROLL_RIGHT_EXTEND_SELECTION |
private static String |
BasicScrollPaneUI.Actions.SCROLL_UP |
private static String |
BasicListUI.Actions.SCROLL_UP |
private static String |
BasicTreeUI.Actions.SCROLL_UP_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SCROLL_UP_CHANGE_LEAD |
private static String |
BasicTreeUI.Actions.SCROLL_UP_CHANGE_SELECTION |
private static String |
BasicTableUI.Actions.SCROLL_UP_CHANGE_SELECTION |
private static String |
BasicListUI.Actions.SCROLL_UP_EXTEND |
private static String |
BasicTreeUI.Actions.SCROLL_UP_EXTEND_SELECTION |
private static String |
BasicTableUI.Actions.SCROLL_UP_EXTEND_SELECTION |
private static String |
BasicMenuUI.Actions.SELECT |
private static String |
BasicTreeUI.Actions.SELECT_ALL |
private static String |
BasicTableUI.Actions.SELECT_ALL |
private static String |
BasicListUI.Actions.SELECT_ALL |
private static String |
BasicTreeUI.Actions.SELECT_CHILD |
private static String |
BasicPopupMenuUI.Actions.SELECT_CHILD |
private static String |
BasicTreeUI.Actions.SELECT_CHILD_CHANGE_LEAD |
static String |
BasicTableHeaderUI.Actions.SELECT_COLUMN_TO_LEFT |
static String |
BasicTableHeaderUI.Actions.SELECT_COLUMN_TO_RIGHT |
private static String |
BasicTreeUI.Actions.SELECT_FIRST |
private static String |
BasicTreeUI.Actions.SELECT_FIRST_CHANGE_LEAD |
private static String |
BasicTreeUI.Actions.SELECT_FIRST_EXTEND_SELECTION |
private static String |
BasicListUI.Actions.SELECT_FIRST_ROW |
private static String |
BasicListUI.Actions.SELECT_FIRST_ROW_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_FIRST_ROW_EXTEND |
(package private) static String |
BasicTabbedPaneUI.Actions.SELECT_FOCUSED |
private static String |
BasicTreeUI.Actions.SELECT_LAST |
private static String |
BasicTreeUI.Actions.SELECT_LAST_CHANGE_LEAD |
private static String |
BasicTreeUI.Actions.SELECT_LAST_EXTEND_SELECTION |
private static String |
BasicListUI.Actions.SELECT_LAST_ROW |
private static String |
BasicListUI.Actions.SELECT_LAST_ROW_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_LAST_ROW_EXTEND |
private static String |
BasicSplitPaneUI.Actions.SELECT_MAX |
private static String |
BasicSplitPaneUI.Actions.SELECT_MIN |
private static String |
BasicTreeUI.Actions.SELECT_NEXT |
private static String |
BasicPopupMenuUI.Actions.SELECT_NEXT |
private static String |
BasicTreeUI.Actions.SELECT_NEXT_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_NEXT_COLUMN |
private static String |
BasicListUI.Actions.SELECT_NEXT_COLUMN_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_NEXT_COLUMN_EXTEND |
private static String |
BasicTreeUI.Actions.SELECT_NEXT_EXTEND_SELECTION |
private static String |
BasicListUI.Actions.SELECT_NEXT_ROW |
private static String |
BasicListUI.Actions.SELECT_NEXT_ROW_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_NEXT_ROW_EXTEND |
private static String |
BasicTreeUI.Actions.SELECT_PARENT |
private static String |
BasicPopupMenuUI.Actions.SELECT_PARENT |
private static String |
BasicTreeUI.Actions.SELECT_PARENT_CHANGE_LEAD |
private static String |
BasicTreeUI.Actions.SELECT_PREVIOUS |
private static String |
BasicPopupMenuUI.Actions.SELECT_PREVIOUS |
private static String |
BasicTreeUI.Actions.SELECT_PREVIOUS_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_PREVIOUS_COLUMN |
private static String |
BasicListUI.Actions.SELECT_PREVIOUS_COLUMN_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_PREVIOUS_COLUMN_EXTEND |
private static String |
BasicTreeUI.Actions.SELECT_PREVIOUS_EXTEND_SELECTION |
private static String |
BasicListUI.Actions.SELECT_PREVIOUS_ROW |
private static String |
BasicListUI.Actions.SELECT_PREVIOUS_ROW_CHANGE_LEAD |
private static String |
BasicListUI.Actions.SELECT_PREVIOUS_ROW_EXTEND |
(package private) static String |
BasicTabbedPaneUI.Actions.SET_SELECTED |
private static String |
BasicDesktopPaneUI.Actions.SHRINK_DOWN |
private static String |
BasicDesktopPaneUI.Actions.SHRINK_LEFT |
private static String |
BasicDesktopPaneUI.Actions.SHRINK_RIGHT |
private static String |
BasicDesktopPaneUI.Actions.SHRINK_UP |
protected static String |
BasicInternalFrameTitlePane.SIZE_CMD |
private static String |
BasicTreeUI.Actions.START_EDITING |
private static String |
BasicTableUI.Actions.START_EDITING |
private static String |
BasicSplitPaneUI.Actions.START_RESIZE |
private static String |
BasicHTML.styleChanges
Overrides to the default stylesheet.
|
private static String |
BasicMenuBarUI.Actions.TAKE_FOCUS |
private String |
BasicOptionPaneUI.ButtonFactory.text |
private static String |
BasicTreeUI.Actions.TOGGLE |
private static String |
BasicComboBoxUI.Actions.TOGGLE |
private static String |
BasicComboBoxUI.Actions.TOGGLE_2 |
private static String |
BasicTreeUI.Actions.TOGGLE_AND_ANCHOR |
private static String |
BasicTableUI.Actions.TOGGLE_AND_ANCHOR |
private static String |
BasicListUI.Actions.TOGGLE_AND_ANCHOR |
private static String |
BasicSplitPaneUI.Actions.TOGGLE_FOCUS |
static String |
BasicTableHeaderUI.Actions.TOGGLE_SORT_ORDER |
private String |
BasicTreeUI.Handler.typedString |
private String |
BasicListUI.Handler.typedString |
private String |
BasicComboBoxUI.DefaultKeySelectionManager.typedString |
private String |
BasicInternalFrameTitlePane.NoFocusButton.uiKey |
private static String |
BasicScrollPaneUI.Actions.UNIT_SCROLL_DOWN |
private static String |
BasicScrollPaneUI.Actions.UNIT_SCROLL_LEFT |
private static String |
BasicScrollPaneUI.Actions.UNIT_SCROLL_RIGHT |
private static String |
BasicScrollPaneUI.Actions.UNIT_SCROLL_UP |
(package private) static String |
BasicTabbedPaneUI.Actions.UP |
private static String |
BasicDesktopPaneUI.Actions.UP |
private static String |
BasicComboBoxUI.Actions.UP |
private static String |
BasicComboBoxUI.Actions.UP_2 |
protected String |
BasicFileChooserUI.updateButtonText |
protected String |
BasicFileChooserUI.updateButtonToolTipText |
| Modifier and Type | Method and Description |
|---|---|
private String |
BasicToolBarUI.calculateConstraint() |
String |
BasicFileChooserUI.getApproveButtonText(JFileChooser fc) |
String |
BasicFileChooserUI.getApproveButtonToolTipText(JFileChooser fc) |
String |
BasicFileChooserUI.GlobFilter.getDescription() |
String |
BasicFileChooserUI.AcceptAllFileFilter.getDescription() |
String |
BasicFileChooserUI.BasicFileView.getDescription(File f) |
String |
BasicFileChooserUI.getDialogTitle(JFileChooser fc)
Returns the title of this dialog
|
String |
BasicFileChooserUI.getDirectoryName() |
(package private) String |
BasicTreeUI.TreeTransferHandler.getDisplayString(TreePath path,
boolean selected,
boolean leaf) |
private String |
BasicToolBarUI.getDockingConstraint(Component c,
Point p) |
String |
BasicFileChooserUI.getFileName() |
protected String |
BasicTransferable.getHTMLData()
Fetch the data in a text/html format
|
protected String |
BasicTextUI.getKeymapName()
Fetches the name of the keymap that will be installed/used
by default for this UI.
|
String |
BasicFileChooserUI.BasicFileView.getName(File f) |
protected String |
BasicTransferable.getPlainData()
Fetch the data in a text/plain format.
|
protected String |
BasicToggleButtonUI.getPropertyPrefix() |
protected abstract String |
BasicTextUI.getPropertyPrefix()
Gets the name used as a key to look up properties through the
UIManager.
|
protected String |
BasicTextPaneUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the
UIManager.
|
protected String |
BasicTextFieldUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the
UIManager.
|
protected String |
BasicTextAreaUI.getPropertyPrefix()
Fetches the name used as a key to look up properties through the
UIManager.
|
protected String |
BasicRadioButtonUI.getPropertyPrefix() |
protected String |
BasicRadioButtonMenuItemUI.getPropertyPrefix() |
protected String |
BasicPasswordFieldUI.getPropertyPrefix()
Fetches the name used as a key to look up properties through the
UIManager.
|
protected String |
BasicMenuUI.getPropertyPrefix() |
protected String |
BasicMenuItemUI.getPropertyPrefix() |
protected String |
BasicFormattedTextFieldUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the
UIManager.
|
protected String |
BasicEditorPaneUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the
UIManager.
|
String |
BasicCheckBoxUI.getPropertyPrefix() |
protected String |
BasicCheckBoxMenuItemUI.getPropertyPrefix() |
protected String |
BasicButtonUI.getPropertyPrefix() |
protected String |
BasicInternalFrameTitlePane.getTitle(String text,
FontMetrics fm,
int availTextWidth) |
String |
BasicTextUI.getToolTipText(JTextComponent t,
Point pt)
Returns the string to be used as the tooltip at the passed in location.
|
String |
BasicFileChooserUI.BasicFileView.getTypeDescription(File f) |
private String |
BasicButtonUI.layout(AbstractButton b,
FontMetrics fm,
int width,
int height) |
private String |
BasicLabelUI.layout(JLabel label,
FontMetrics fm,
int width,
int height) |
protected String |
BasicLabelUI.layoutCL(JLabel label,
FontMetrics fontMetrics,
String text,
Icon icon,
Rectangle viewR,
Rectangle iconR,
Rectangle textR)
Forwards the call to SwingUtilities.layoutCompoundLabel().
|
String |
BasicTabbedPaneUI.ScrollableTabSupport.toString() |
| Modifier and Type | Method and Description |
|---|---|
void |
CenterLayout.addLayoutComponent(String name,
Component comp) |
void |
BasicTextUI.UpdateHandler.addLayoutComponent(String name,
Component comp)
Adds the specified component with the specified name to
the layout.
|
void |
BasicTabbedPaneUI.TabbedPaneLayout.addLayoutComponent(String name,
Component comp) |
void |
BasicSplitPaneUI.BasicHorizontalLayoutManager.addLayoutComponent(String place,
Component component)
Adds the component at place.
|
void |
BasicSplitPaneDivider.DividerLayout.addLayoutComponent(String string,
Component c) |
void |
BasicSpinnerUI.Handler.addLayoutComponent(String name,
Component c) |
void |
BasicScrollBarUI.addLayoutComponent(String name,
Component child) |
void |
BasicOptionPaneUI.ButtonAreaLayout.addLayoutComponent(String string,
Component comp) |
void |
BasicInternalFrameUI.InternalFrameLayout.addLayoutComponent(String name,
Component c) |
void |
BasicInternalFrameUI.Handler.addLayoutComponent(String name,
Component c) |
void |
BasicInternalFrameTitlePane.Handler.addLayoutComponent(String name,
Component c) |
void |
BasicInternalFrameTitlePane.TitlePaneLayout.addLayoutComponent(String name,
Component c) |
void |
BasicComboBoxUI.ComboBoxLayoutManager.addLayoutComponent(String name,
Component comp) |
void |
BasicComboBoxUI.Handler.addLayoutComponent(String name,
Component comp) |
protected void |
BasicOptionPaneUI.burstStringInto(Container c,
String d,
int maxll)
Recursively creates new JLabel instances to represent
d. |
static View |
BasicHTML.createHTMLView(JComponent c,
String html)
Create an html renderer for the given component and
string of html.
|
static void |
BasicGraphicsUtils.drawString(Graphics g,
String text,
int underlinedChar,
int x,
int y)
Draw a string with the graphics
g at location (x,y)
just like g.drawString would. |
static void |
BasicGraphicsUtils.drawStringUnderlineCharAt(Graphics g,
String text,
int underlinedIndex,
int x,
int y)
Draw a string with the graphics
g at location
(x, y)
just like g.drawString would. |
protected void |
BasicDirectoryModel.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Support for reporting bound property changes for boolean properties.
|
(package private) static ActionMap |
LazyActionMap.getActionMap(Class loaderClass,
String defaultsKey)
Returns an ActionMap that will be populated by invoking the
loadActionMap method on the specified Class
when necessary. |
private int |
BasicOptionPaneUI.getMnemonic(String key,
Locale l) |
private int |
BasicFileChooserUI.getMnemonic(String key,
Locale l)
Returns the mnemonic for the given key.
|
private int |
BasicComboBoxUI.Actions.getNextIndex(JComboBox comboBox,
String key) |
protected Point |
BasicProgressBarUI.getStringPlacement(Graphics g,
String progressString,
int x,
int y,
int width,
int height)
Designate the place where the progress string will be painted.
|
protected String |
BasicInternalFrameTitlePane.getTitle(String text,
FontMetrics fm,
int availTextWidth) |
(package private) static void |
LazyActionMap.installLazyActionMap(JComponent c,
Class loaderClass,
String defaultsKey)
Installs an ActionMap that will be populated by invoking the
loadActionMap method on the specified Class
when necessary. |
private static boolean |
BasicFileChooserUI.isGlobPattern(String filename) |
static boolean |
BasicHTML.isHTMLString(String s)
Check the given string to see if it should trigger the
html rendering logic in a non-text component that supports
html rendering.
|
protected String |
BasicLabelUI.layoutCL(JLabel label,
FontMetrics fontMetrics,
String text,
Icon icon,
Rectangle viewR,
Rectangle iconR,
Rectangle textR)
Forwards the call to SwingUtilities.layoutCompoundLabel().
|
protected void |
BasicTabbedPaneUI.layoutLabel(int tabPlacement,
FontMetrics metrics,
int tabIndex,
String title,
Icon icon,
Rectangle tabRect,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected) |
private byte[] |
BasicLookAndFeel.loadAudioData(String soundFile)
Utility method that loads audio bits for the specified
soundFile filename. |
protected void |
BasicLookAndFeel.loadSystemColors(UIDefaults table,
String[] systemColors,
boolean useNative)
Populates
table with the name-color pairs in
systemColors. |
private int |
BasicToolBarUI.mapConstraintToOrientation(String constraint) |
private void |
BasicSpinnerUI.maybeAdd(Component c,
String s) |
protected void |
BasicLabelUI.paintDisabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Paint clippedText at textX, textY with background.lighter() and then
shifted down and to the right by one pixel with background.darker().
|
protected void |
BasicLabelUI.paintEnabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Paint clippedText at textX, textY with the labels foreground color.
|
protected void |
BasicButtonUI.paintText(Graphics g,
AbstractButton b,
Rectangle textRect,
String text)
Method which renders the text of the current button.
|
protected void |
BasicTabbedPaneUI.paintText(Graphics g,
int tabPlacement,
Font font,
FontMetrics metrics,
int tabIndex,
String title,
Rectangle textRect,
boolean isSelected) |
protected void |
BasicButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text)
As of Java 2 platform v 1.4 this method should not be used or overriden.
|
protected void |
BasicMenuItemUI.paintText(Graphics g,
JMenuItem menuItem,
Rectangle textRect,
String text)
Renders the text of the current menu item.
|
void |
BasicFileChooserUI.setDirectoryName(String dirname) |
void |
BasicFileChooserUI.setFileName(String filename) |
void |
BasicFileChooserUI.GlobFilter.setPattern(String globPattern) |
private void |
BasicDesktopPaneUI.Actions.setState(JDesktopPane dp,
String state) |
void |
BasicComboBoxEditor.BorderlessTextField.setText(String s) |
static void |
BasicHTML.updateRenderer(JComponent c,
String text)
Stash the HTML render for the given text into the client
properties of the given JComponent.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
MetalToolTipUI.acceleratorDelimiter |
private static String[] |
MetalRootPaneUI.borderKeys
Keys to lookup borders in defaults table.
|
private String |
MetalLookAndFeel.MetalLazyValue.className
Name of the class to create.
|
private static String[] |
DefaultMetalTheme.defaultNames
System property names used to look up fonts.
|
private String |
MetalFileChooserUI.detailsViewButtonAccessibleName |
private String |
MetalFileChooserUI.detailsViewButtonToolTipText |
private String |
MetalFileChooserUI.fileNameLabelText |
private String |
MetalFileChooserUI.filesOfTypeLabelText |
private String |
MetalFileChooserUI.folderNameLabelText |
private static String[] |
DefaultMetalTheme.fontNames
Names of the fonts to use.
|
private static String |
MetalInternalFrameUI.FRAME_TYPE |
static String |
MetalScrollBarUI.FREE_STANDING_PROP |
private String |
MetalFileChooserUI.homeFolderAccessibleName |
private String |
MetalFileChooserUI.homeFolderToolTipText |
private static String |
MetalTreeUI.HORIZ_STYLE_STRING |
protected static String |
MetalInternalFrameUI.IS_PALETTE |
private static String |
MetalInternalFrameUI.IS_PALETTE_KEY |
private String |
MetalLookAndFeel.AATextListener.key |
private static String |
MetalTreeUI.LEG_LINE_STYLE_STRING |
private static String |
MetalTreeUI.LINE_STYLE |
private String |
MetalFileChooserUI.listViewButtonAccessibleName |
private String |
MetalFileChooserUI.listViewButtonToolTipText |
private String |
MetalFileChooserUI.lookInLabelText |
private String |
MetalLookAndFeel.MetalLazyValue.methodName |
private String |
MetalFileChooserUI.newFolderAccessibleName |
private String |
MetalFileChooserUI.newFolderToolTipText |
private static String |
MetalTreeUI.NO_STYLE_STRING |
private static String |
MetalInternalFrameUI.NORMAL_FRAME |
private static String |
MetalInternalFrameUI.OPTION_DIALOG |
private static String |
MetalInternalFrameUI.PALETTE_FRAME |
private static String[] |
MetalFontDesktopProperty.propertyMapping
Maps from metal font theme type as defined in MetalTheme
to the corresponding desktop property name.
|
private static String |
MetalCheckBoxUI.propertyPrefix |
private String |
MetalFileChooserUI.saveInLabelText |
private String |
MetalInternalFrameTitlePane.selectedBackgroundKey
Key used to lookup Color from UIManager.
|
private String |
MetalInternalFrameTitlePane.selectedForegroundKey
Key used to lookup Color from UIManager.
|
private String |
MetalInternalFrameTitlePane.selectedShadowKey
Key used to lookup shadow color from UIManager.
|
protected String |
MetalSliderUI.SLIDER_FILL |
private String |
MetalFileChooserUI.upFolderAccessibleName |
private String |
MetalFileChooserUI.upFolderToolTipText |
| Modifier and Type | Method and Description |
|---|---|
private String |
MetalFileChooserUI.fileNameString(File file) |
private String |
MetalFileChooserUI.fileNameString(File[] files) |
String |
MetalToolTipUI.getAcceleratorString() |
private String |
MetalToolTipUI.getAcceleratorString(JToolTip tip) |
(package private) static String |
DefaultMetalTheme.getDefaultFontName(int key)
Returns the ideal font name for the font identified by key.
|
(package private) static String |
DefaultMetalTheme.getDefaultPropertyName(int key)
Returns the default used to look up the specified font.
|
String |
MetalLookAndFeel.getDescription()
Returns a short description of this look and feel.
|
String |
MetalFileChooserUI.getDirectoryName() |
String |
MetalFileChooserUI.getFileName() |
String |
MetalLookAndFeel.getID()
Returns an identifier for this look and feel.
|
String |
OceanTheme.getName()
Return the name of this theme, "Ocean".
|
abstract String |
MetalTheme.getName()
Returns the name of this theme.
|
String |
MetalLookAndFeel.getName()
Returns the name of this look and feel.
|
String |
MetalHighContrastTheme.getName() |
String |
DefaultMetalTheme.getName()
Returns the name of this theme.
|
String |
MetalCheckBoxUI.getPropertyPrefix() |
private String |
MetalTitlePane.getTitle()
Returns the String to display as the title.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetalTitlePane.TitlePaneLayout.addLayoutComponent(String name,
Component c) |
void |
MetalSplitPaneDivider.MetalDividerLayout.addLayoutComponent(String string,
Component c) |
void |
MetalRootPaneUI.MetalRootLayout.addLayoutComponent(String name,
Component comp) |
void |
MetalInternalFrameTitlePane.MetalTitlePaneLayout.addLayoutComponent(String name,
Component c) |
void |
MetalFileChooserUI.ButtonAreaLayout.addLayoutComponent(String string,
Component comp) |
private int |
MetalToolTipUI.calcAccelSpacing(JComponent c,
FontMetrics fm,
String accel) |
(package private) static boolean |
MetalUtils.drawGradient(Component c,
Graphics g,
String key,
int x,
int y,
int w,
int h,
boolean vertical)
Draws a radial type gradient.
|
private Icon |
OceanTheme.getHastenedIcon(String iconID,
UIDefaults table) |
private Object |
OceanTheme.getIconResource(String iconID) |
private Integer |
MetalFileChooserUI.getMnemonic(String key,
Locale l) |
protected void |
MetalLabelUI.paintDisabledText(JLabel l,
Graphics g,
String s,
int textX,
int textY)
Just paint the text gray (Label.disabledForeground) rather than
in the labels foreground color.
|
protected void |
MetalToggleButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text) |
protected void |
MetalButtonUI.paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text) |
void |
MetalFileChooserUI.setDirectoryName(String dirname) |
void |
MetalFileChooserUI.setFileName(String filename) |
private void |
MetalInternalFrameUI.setFrameType(String frameType) |
| Constructor and Description |
|---|
MetalFileChooserUI.AlignedLabel(String text) |
MetalFontDesktopProperty(String key,
int type)
Creates a MetalFontDesktopProperty.
|
MetalLookAndFeel.MetalLazyValue(String name) |
MetalLookAndFeel.MetalLazyValue(String name,
String methodName) |
| Modifier and Type | Method and Description |
|---|---|
String |
MultiFileChooserUI.getApproveButtonText(JFileChooser a)
Invokes the
getApproveButtonText method on each UI handled by this object. |
String |
MultiLookAndFeel.getDescription()
Returns a one-line description of this look and feel.
|
String |
MultiFileChooserUI.getDialogTitle(JFileChooser a)
Invokes the
getDialogTitle method on each UI handled by this object. |
String |
MultiLookAndFeel.getID()
Returns a string, suitable for use by applications/services,
that identifies this look and feel.
|
String |
MultiLookAndFeel.getName()
Returns a string, suitable for use in menus,
that identifies this look and feel.
|
String |
MultiTextUI.getToolTipText(JTextComponent a,
Point b)
Invokes the
getToolTipText method on each UI handled by this object. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MultiUIDefaults.getUIError(String msg) |
| Modifier and Type | Field and Description |
|---|---|
private String |
NimbusDefaults.LazyPainter.className |
private static String[] |
NimbusLookAndFeel.COMPONENT_KEYS
Set of standard region names for UIDefaults Keys
|
private String |
NimbusLookAndFeel.LinkProperty.dstPropName |
private String |
NimbusStyle.CacheKey.key |
private String |
NimbusIcon.key |
static String |
NimbusStyle.LARGE_KEY |
static String |
NimbusStyle.MINI_KEY |
private String |
State.name |
private String |
NimbusDefaults.PainterBorder.painterKey |
private String |
NimbusDefaults.DerivedFont.parentKey |
private String |
NimbusStyle.prefix
The prefix for the component or region that this NimbusStyle
represents.
|
private String |
NimbusLookAndFeel.NimbusProperty.prefix |
private String |
NimbusIcon.prefix |
private String |
NimbusDefaults.LazyStyle.prefix
The prefix this LazyStyle was registered with.
|
private String |
NimbusDefaults.LazyStyle.Part.s |
static String |
NimbusStyle.SMALL_KEY |
private String |
NimbusLookAndFeel.NimbusProperty.state |
(package private) String |
NimbusStyle.RuntimeState.stateName |
private String |
NimbusLookAndFeel.NimbusProperty.suffix |
private String |
DerivedColor.uiDefaultParentName |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Map<String,Object>> |
NimbusLookAndFeel.compiledDefaults |
private Map<String,Map<String,Object>> |
NimbusLookAndFeel.compiledDefaults |
private Map<String,NimbusDefaults.ColorTree.Node> |
NimbusDefaults.ColorTree.nodes |
private Map<String,Region> |
NimbusDefaults.registeredRegions
A map of regions which have been registered.
|
(package private) static Map<String,State.StandardState> |
State.standardStates |
| Modifier and Type | Method and Description |
|---|---|
String |
NimbusLookAndFeel.getDescription()
Returns a textual description of this look and feel.
|
String |
NimbusLookAndFeel.getID()
Return a string that identifies this look and feel.
|
(package private) String |
State.getName() |
String |
NimbusLookAndFeel.getName()
Return a short string that identifies this look and feel.
|
private String |
NimbusLookAndFeel.getSystemProperty(String key)
Simple utility method that reads system keys.
|
String |
DerivedColor.getUiDefaultParentName() |
(package private) static String |
NimbusLookAndFeel.parsePrefix(String key) |
String |
State.toString() |
String |
NimbusStyle.RuntimeState.toString() |
String |
DerivedColor.toString()
Returns a string representation of this
Color. |
private static String |
State.StandardState.toString(int state) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Map<String,Object> |
NimbusLookAndFeel.getDefaultsForPrefix(String prefix) |
private List<String> |
NimbusDefaults.LazyStyle.split(String prefix)
Given some dot separated prefix, split on the colons that are
not within quotes, and not within brackets.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NimbusDefaults.ColorTree.addColor(String uin,
Color color) |
private void |
NimbusDefaults.addColor(UIDefaults d,
String uin,
int r,
int g,
int b,
int a) |
private void |
NimbusDefaults.addColor(UIDefaults d,
String uin,
String parentUin,
float hOffset,
float sOffset,
float bOffset,
int aOffset) |
private void |
NimbusDefaults.addColor(UIDefaults d,
String uin,
String parentUin,
float hOffset,
float sOffset,
float bOffset,
int aOffset,
boolean uiResource) |
private void |
NimbusLookAndFeel.addDefault(String key,
Object value) |
private boolean |
NimbusStyle.contains(String[] names,
String name)
Simple utility method that searchs the given array of Strings for the
given string.
|
private boolean |
NimbusStyle.contains(String[] names,
String name)
Simple utility method that searchs the given array of Strings for the
given string.
|
protected Color |
AbstractRegionPainter.decodeColor(String key,
float hOffset,
float sOffset,
float bOffset,
int aOffset)
Decodes and returns a color, which is derived from a base color in UI
defaults.
|
Color |
NimbusDefaults.ColorTree.getColor(String uin) |
protected Color |
AbstractRegionPainter.getComponentColor(JComponent c,
String property,
Color defaultColor,
float saturationOffset,
float brightnessOffset,
int alphaOffset)
Get a color property from the given JComponent.
|
(package private) Map<String,Object> |
NimbusLookAndFeel.getDefaultsForPrefix(String prefix) |
Color |
NimbusLookAndFeel.getDerivedColor(String uiDefaultParentName,
float hOffset,
float sOffset,
float bOffset,
int aOffset,
boolean uiResource)
Get a derived color, derived colors are shared instances and is color
value will change when its parent UIDefault color changes.
|
DerivedColor |
NimbusDefaults.getDerivedColor(String parentUin,
float hOffset,
float sOffset,
float bOffset,
int aOffset,
boolean uiResource)
Get a derived color, derived colors are shared instances and will be
updated when its parent UIDefault color changes.
|
private DerivedColor |
NimbusDefaults.getDerivedColor(String uin,
String parentUin,
float hOffset,
float sOffset,
float bOffset,
int aOffset,
boolean uiResource) |
private Painter |
NimbusStyle.getPainter(Map<String,Object> defaults,
String key) |
(package private) static State.StandardState |
State.getStandardState(String name) |
private String |
NimbusLookAndFeel.getSystemProperty(String key)
Simple utility method that reads system keys.
|
(package private) static boolean |
State.isStandardStateName(String name) |
(package private) static String |
NimbusLookAndFeel.parsePrefix(String key) |
void |
NimbusLookAndFeel.register(Region region,
String prefix)
Registers a third party component with the NimbusLookAndFeel.
|
(package private) void |
NimbusDefaults.register(Region region,
String prefix)
Registers the given region and prefix.
|
private List<String> |
NimbusDefaults.LazyStyle.split(String prefix)
Given some dot separated prefix, split on the colons that are
not within quotes, and not within brackets.
|
static ImageScalingHelper.PaintType |
ImageScalingHelper.PaintType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Effect.EffectType |
Effect.EffectType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractRegionPainter.PaintContext.CacheMode |
AbstractRegionPainter.PaintContext.CacheMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
private Painter |
NimbusStyle.getPainter(Map<String,Object> defaults,
String key) |
| Constructor and Description |
|---|
DerivedColor.UIResource(String uiDefaultParentName,
float hOffset,
float sOffset,
float bOffset,
int aOffset) |
DerivedColor(String uiDefaultParentName,
float hOffset,
float sOffset,
float bOffset,
int aOffset) |
NimbusDefaults.DerivedFont(String key,
float sizeOffset,
Boolean bold,
Boolean italic)
Create a new DerivedFont.
|
NimbusDefaults.LazyPainter(String className,
int which,
Insets insets,
Dimension canvasSize,
boolean inverted) |
NimbusDefaults.LazyPainter(String className,
int which,
Insets insets,
Dimension canvasSize,
boolean inverted,
AbstractRegionPainter.PaintContext.CacheMode cacheMode,
double maxH,
double maxV) |
NimbusDefaults.LazyStyle.Part(String s) |
NimbusDefaults.LazyStyle(String prefix)
Create a new LazyStyle.
|
NimbusDefaults.PainterBorder(String painterKey,
Insets insets) |
NimbusIcon(String prefix,
String key,
int w,
int h) |
NimbusLookAndFeel.LinkProperty(String dstPropName) |
NimbusLookAndFeel.NimbusProperty(String prefix,
String suffix) |
NimbusLookAndFeel.NimbusProperty(String prefix,
String state,
String suffix) |
NimbusStyle.RuntimeState(int state,
String stateName) |
NimbusStyle(String prefix,
JComponent c)
Create a new NimbusStyle.
|
State(String name)
Create a new custom State.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
SynthParser._inputMapID
ID for the input map.
|
private String |
ParsedSynthStyle.PainterInfo._method |
private static String |
SynthParser.ATTRIBUTE_ACTION |
private static String |
SynthParser.ATTRIBUTE_BOTTOM |
private static String |
SynthParser.ATTRIBUTE_CENTER |
private static String |
SynthParser.ATTRIBUTE_CLONE |
private static String |
SynthParser.ATTRIBUTE_DEST_INSETS |
private static String |
SynthParser.ATTRIBUTE_DIRECTION |
private static String |
SynthParser.ATTRIBUTE_ID |
private static String |
SynthParser.ATTRIBUTE_IDREF |
private static String |
SynthParser.ATTRIBUTE_KEY |
private static String |
SynthParser.ATTRIBUTE_LEFT |
private static String |
SynthParser.ATTRIBUTE_METHOD |
private static String |
SynthParser.ATTRIBUTE_NAME |
private static String |
SynthParser.ATTRIBUTE_PAINT_CENTER |
private static String |
SynthParser.ATTRIBUTE_PATH |
private static String |
SynthParser.ATTRIBUTE_RIGHT |
private static String |
SynthParser.ATTRIBUTE_SIZE |
private static String |
SynthParser.ATTRIBUTE_SOURCE_INSETS |
private static String |
SynthParser.ATTRIBUTE_STRETCH |
private static String |
SynthParser.ATTRIBUTE_STYLE |
private static String |
SynthParser.ATTRIBUTE_TOP |
private static String |
SynthParser.ATTRIBUTE_TYPE |
private static String |
SynthParser.ATTRIBUTE_VALUE |
private String |
ColorType.description |
private static String |
SynthParser.ELEMENT_BIND |
private static String |
SynthParser.ELEMENT_BIND_KEY |
private static String |
SynthParser.ELEMENT_COLOR |
private static String |
SynthParser.ELEMENT_DEFAULTS_PROPERTY |
private static String |
SynthParser.ELEMENT_FONT |
private static String |
SynthParser.ELEMENT_IMAGE_ICON |
private static String |
SynthParser.ELEMENT_IMAGE_PAINTER |
private static String |
SynthParser.ELEMENT_INPUT_MAP |
private static String |
SynthParser.ELEMENT_INSETS |
private static String |
SynthParser.ELEMENT_OPAQUE |
private static String |
SynthParser.ELEMENT_PAINTER |
private static String |
SynthParser.ELEMENT_PROPERTY |
private static String |
SynthParser.ELEMENT_STATE |
private static String |
SynthParser.ELEMENT_STYLE |
private static String |
SynthParser.ELEMENT_SYNTH |
private static String |
SynthParser.ELEMENT_SYNTH_GRAPHICS |
private String |
SynthLookAndFeel.AATextListener.key |
private String |
Region.name |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Object> |
SynthParser._defaultsMap
defaultsPropertys are placed here.
|
private List<String> |
SynthParser._inputMapBindings
Bindings for the current InputMap
|
private Map<String,Object> |
SynthParser._mapping
Object references outside the scope of persistance.
|
private Map<String,Object> |
SynthLookAndFeel.defaultsMap
Map of defaults table entries.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SynthLookAndFeel.getDescription()
Returns a textual description of SynthLookAndFeel.
|
String |
SynthLookAndFeel.getID()
Return a string that identifies this look and feel.
|
(package private) String |
Region.getLowerCaseName()
Returns the name, in lowercase.
|
(package private) String |
ParsedSynthStyle.PainterInfo.getMethod() |
String |
SynthTreeUI.SynthTreeCellRenderer.getName() |
String |
SynthTableUI.SynthTableCellRenderer.getName() |
String |
SynthLookAndFeel.getName()
Return a short string that identifies this look and feel.
|
String |
SynthListUI.SynthListCellRenderer.getName() |
String |
SynthComboBoxUI.SynthComboBoxRenderer.getName() |
String |
Region.getName()
Returns the name of the region.
|
protected String |
SynthToggleButtonUI.getPropertyPrefix() |
protected String |
SynthTextPaneUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the
UIManager.
|
protected String |
SynthRadioButtonUI.getPropertyPrefix() |
protected String |
SynthRadioButtonMenuItemUI.getPropertyPrefix() |
protected String |
SynthPasswordFieldUI.getPropertyPrefix()
Fetches the name used as a key to look up properties through the
UIManager.
|
protected String |
SynthFormattedTextFieldUI.getPropertyPrefix()
Fetches the name used as a key to lookup properties through the
UIManager.
|
protected String |
SynthCheckBoxUI.getPropertyPrefix() |
protected String |
SynthCheckBoxMenuItemUI.getPropertyPrefix() |
String |
SynthStyle.getString(SynthContext context,
Object key,
String defaultValue)
Convenience method to get a specific style property whose value is
a String.
|
String |
SynthInternalFrameTitlePane.getUIClassID() |
String |
SynthArrowButton.getUIClassID() |
String |
SynthGraphicsUtils.layoutText(SynthContext ss,
FontMetrics fm,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int iconTextGap)
Lays out text and an icon returning, by reference, the location to
place the icon and text.
|
String |
Region.toString()
Returns the name of the Region.
|
String |
ParsedSynthStyle.toString() |
String |
ParsedSynthStyle.StateInfo.toString() |
String |
ParsedSynthStyle.PainterInfo.toString() |
String |
ColorType.toString()
Returns the textual description of this
ColorType. |
| Modifier and Type | Method and Description |
|---|---|
private static Map<Region,String> |
Region.getLowerCaseNameMap() |
private static Map<String,Region> |
Region.getUItoRegionMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
SynthToolBarUI.SynthToolBarLayoutManager.addLayoutComponent(String name,
Component comp) |
void |
SynthSpinnerUI.SpinnerLayout.addLayoutComponent(String name,
Component c) |
void |
SynthInternalFrameTitlePane.SynthTitlePaneLayout.addLayoutComponent(String name,
Component c) |
private void |
SynthParser.addPainterOrMerge(List<ParsedSynthStyle.PainterInfo> painters,
String method,
SynthPainter painter,
int direction) |
void |
DefaultSynthStyleFactory.addStyle(sun.swing.plaf.synth.DefaultSynthStyle style,
String path,
int type) |
int |
SynthGraphicsUtils.computeStringWidth(SynthContext ss,
Font font,
FontMetrics metrics,
String text)
Returns the size of the passed in string.
|
void |
SynthParser.endElement(String uri,
String local,
String name) |
private boolean |
SynthMenuItemLayoutHelper.getAlignAcceleratorText(String propertyPrefix) |
private SynthPainter |
ParsedSynthStyle.getBestPainter(ParsedSynthStyle.PainterInfo[] info,
String method,
int direction) |
private SynthPainter |
ParsedSynthStyle.getBestPainter(SynthContext context,
String method,
int direction) |
Object |
SynthDefaultLookup.getDefault(JComponent c,
ComponentUI ui,
String key) |
Dimension |
SynthGraphicsUtils.getMaximumSize(SynthContext ss,
Font font,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex)
Returns the maximum size needed to properly render an icon and text.
|
Dimension |
SynthGraphicsUtils.getMinimumSize(SynthContext ss,
Font font,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex)
Returns the minimum size needed to properly render an icon and text.
|
private static SynthPainter |
ParsedSynthStyle.DelegatingPainter.getPainter(SynthContext context,
String method,
int direction) |
(package private) static Dimension |
SynthGraphicsUtils.getPreferredMenuItemSize(SynthContext context,
SynthContext accContext,
JComponent c,
Icon checkIcon,
Icon arrowIcon,
int defaultTextIconGap,
String acceleratorDelimiter,
boolean useCheckAndArrow,
String propertyPrefix)
A quick note about how preferred sizes are calculated...
|
Dimension |
SynthGraphicsUtils.getPreferredSize(SynthContext ss,
Font font,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex)
Returns the preferred size needed to properly render an icon and text.
|
private URL |
SynthParser.getResource(String path)
Returns the path to a resource.
|
String |
SynthStyle.getString(SynthContext context,
Object key,
String defaultValue)
Convenience method to get a specific style property whose value is
a String.
|
private void |
SynthTabbedPaneUI.layoutLabel(SynthContext ss,
int tabPlacement,
FontMetrics metrics,
int tabIndex,
String title,
Icon icon,
Rectangle tabRect,
Rectangle iconRect,
Rectangle textRect,
boolean isSelected) |
String |
SynthGraphicsUtils.layoutText(SynthContext ss,
FontMetrics fm,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
Rectangle viewR,
Rectangle iconR,
Rectangle textR,
int iconTextGap)
Lays out text and an icon returning, by reference, the location to
place the icon and text.
|
private Object |
SynthParser.lookup(String key,
Class type)
Returns an object created with id=key.
|
private int |
SynthParser.nextInt(StringTokenizer tok,
String errorMsg)
Convenience method to return the next int, or throw if there are no
more valid ints.
|
void |
SynthParser.notationDecl(String name,
String publicId,
String systemId) |
(package private) static void |
SynthGraphicsUtils.paint(SynthContext context,
SynthContext accContext,
Graphics g,
Icon checkIcon,
Icon arrowIcon,
String acceleratorDelimiter,
int defaultTextIconGap,
String propertyPrefix) |
private void |
SynthTabbedPaneUI.paintText(SynthContext ss,
Graphics g,
int tabPlacement,
Font font,
FontMetrics metrics,
int tabIndex,
String title,
Rectangle textRect,
boolean isSelected) |
protected void |
SynthProgressBarUI.paintText(SynthContext context,
Graphics g,
String title)
Paints the component's text.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
Icon icon,
int hAlign,
int vAlign,
int hTextPosition,
int vTextPosition,
int iconTextGap,
int mnemonicIndex,
int textOffset)
Paints an icon and text.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
int x,
int y,
int mnemonicIndex)
Paints text at the specified location.
|
void |
SynthGraphicsUtils.paintText(SynthContext ss,
Graphics g,
String text,
Rectangle bounds,
int mnemonicIndex)
Paints text at the specified location.
|
private Insets |
SynthParser.parseInsets(String insets,
String errorMsg)
Convenience method to return an Insets object.
|
void |
SynthParser.processingInstruction(String target,
String data) |
private void |
SynthParser.register(String key,
Object value)
Registers an object by name.
|
InputSource |
SynthParser.resolveEntity(String publicId,
String systemId) |
void |
SynthParser.startElement(String uri,
String local,
String name,
Attributes attributes) |
private void |
SynthParser.startPainter(Attributes attributes,
String type) |
void |
SynthParser.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName) |
(package private) static void |
SynthTextFieldUI.updateStyle(JTextComponent comp,
SynthContext context,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
SynthParser.parse(InputStream inputStream,
DefaultSynthStyleFactory factory,
URL urlResourceBase,
Class<?> classResourceBase,
Map<String,Object> defaultsMap)
Parses a set of styles from
inputStream, adding the
resulting styles to the passed in DefaultSynthStyleFactory. |
| Constructor and Description |
|---|
ColorType(String description)
Creates a new ColorType with the specified description.
|
ParsedSynthStyle.PainterInfo(String method,
SynthPainter painter,
int direction) |
Region(String name,
boolean subregion) |
Region(String name,
String ui,
boolean subregion)
Creates a Region with the specified name.
|
SynthMenuItemLayoutHelper(SynthContext context,
SynthContext accContext,
JMenuItem mi,
Icon checkIcon,
Icon arrowIcon,
Rectangle viewRect,
int gap,
String accDelimiter,
boolean isLeftToRight,
boolean useCheckAndArrow,
String propertyPrefix) |
| Modifier and Type | Field and Description |
|---|---|
static String |
TableColumn.CELL_RENDERER_PROPERTY
Obsolete as of Java 2 platform v1.3.
|
static String |
TableColumn.COLUMN_WIDTH_PROPERTY
Obsolete as of Java 2 platform v1.3.
|
static String |
TableColumn.HEADER_RENDERER_PROPERTY
Obsolete as of Java 2 platform v1.3.
|
static String |
TableColumn.HEADER_VALUE_PROPERTY
Obsolete as of Java 2 platform v1.3.
|
private static String |
JTableHeader.uiClassID |
| Modifier and Type | Method and Description |
|---|---|
String |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getAccessibleDescription() |
String |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getAccessibleName() |
String |
TableModel.getColumnName(int columnIndex)
Returns the name of the column at
columnIndex. |
String |
DefaultTableModel.getColumnName(int column)
Returns the column name.
|
String |
AbstractTableModel.getColumnName(int column)
Returns a default name for the column using spreadsheet conventions:
A, B, C, ...
|
String |
TableRowSorter.TableRowSorterModelWrapper.getStringValueAt(int row,
int column) |
String |
JTableHeader.getToolTipText(MouseEvent event)
Allows the renderer's tips to be used if there is text set.
|
String |
JTableHeader.getUIClassID()
Returns the suffix used to construct the name of the look and feel
(L&F) class used to render this component.
|
protected String |
JTableHeader.paramString()
Returns a string representation of this
JTableHeader. |
abstract String |
TableStringConverter.toString(TableModel model,
int row,
int column)
Returns the string representation of the value at the specified
location.
|
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractTableModel.findColumn(String columnName)
Returns a column given its name.
|
private void |
TableColumn.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue) |
void |
DefaultTableCellRenderer.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Overridden for performance reasons.
|
private void |
TableColumn.firePropertyChange(String propertyName,
int oldValue,
int newValue) |
private void |
TableColumn.firePropertyChange(String propertyName,
Object oldValue,
Object newValue) |
protected void |
DefaultTableCellRenderer.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Overridden for performance reasons.
|
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleDescription(String s) |
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setAccessibleName(String s) |
| Modifier and Type | Field and Description |
|---|---|
String |
JTextComponent.KeyBinding.actionName
The name of the action for the key.
|
(package private) static String |
AbstractDocument.AsyncLoadPriority
Document property that indicates asynchronous loading is
desired, with the thread priority given as the value.
|
static String |
DefaultEditorKit.backwardAction
Name of the Action for moving the caret
logically backward one position.
|
protected static String |
AbstractDocument.BAD_LOCATION
Error message to indicate a bad location.
|
private static String |
AbstractDocument.BAD_LOCK_STATE |
static String |
DefaultEditorKit.beepAction
Name of the action to create a beep.
|
static String |
DefaultEditorKit.beginAction
Name of the
Action for moving the caret
to the beginning of the document. |
static String |
DefaultEditorKit.beginLineAction
Name of the
Action for moving the caret
to the beginning of a line. |
static String |
DefaultEditorKit.beginParagraphAction
Name of the
Action for moving the caret
to the beginning of a paragraph. |
static String |
DefaultEditorKit.beginWordAction
Name of the
Action for moving the caret
to the beginning of a word. |
static String |
AbstractDocument.BidiElementName
Name of elements used to hold a unidirectional run
|
(package private) String |
ChangedCharSetException.charSetSpec |
static String |
StyleConstants.ComponentElementName
Name of elements used to represent components.
|
private String |
JTextComponent.composedTextContent |
static String |
AbstractDocument.ContentElementName
Name of elements used to represent content
|
static String |
DefaultEditorKit.copyAction
Name of the action to copy the selected region
and place the contents into the system clipboard.
|
static String |
DefaultEditorKit.cutAction
Name of the action to cut the selected region
and place the contents into the system clipboard.
|
static String |
JTextComponent.DEFAULT_KEYMAP
The default keymap that will be shared by all
JTextComponent instances unless they
have had a different keymap set. |
static String |
StyleContext.DEFAULT_STYLE
The name given to the default logical style attached
to paragraphs.
|
static String |
DefaultEditorKit.defaultKeyTypedAction
Name of the action that is executed by default if
a key typed event is received and there
is no keymap entry.
|
static String |
DefaultEditorKit.deleteNextCharAction
Name of the action to delete the character of content that
follows the current caret position.
|
static String |
DefaultEditorKit.deleteNextWordAction
Name of the action to delete the word that
follows the beginning of the selection.
|
static String |
DefaultEditorKit.deletePrevCharAction
Name of the action to delete the character of content that
precedes the current caret position.
|
static String |
DefaultEditorKit.deletePrevWordAction
Name of the action to delete the word that
precedes the beginning of the selection.
|
static String |
DefaultEditorKit.downAction
Name of the Action for moving the caret
logically downward one position.
|
static String |
AbstractDocument.ElementNameAttribute
Name of the attribute used to specify element
names.
|
static String |
DefaultEditorKit.endAction
Name of the
Action for moving the caret
to the end of the document. |
static String |
DefaultEditorKit.endLineAction
Name of the
Action for moving the caret
to the end of a line. |
static String |
DefaultEditorKit.EndOfLineStringProperty
When reading a document if a CRLF is encountered a property
with this name is added and the value will be "\r\n".
|
static String |
DefaultEditorKit.endParagraphAction
Name of the
Action for moving the caret
to the end of a paragraph. |
static String |
DefaultEditorKit.endWordAction
Name of the Action for moving the caret
to the end of a word.
|
private String |
StyledEditorKit.FontFamilyAction.family |
private String |
StyleContext.FontKey.family |
static String |
JTextComponent.FOCUS_ACCELERATOR_KEY
The bound property name for the focus accelerator.
|
static String |
DefaultEditorKit.forwardAction
Name of the Action for moving the caret
logically forward one position.
|
(package private) static String |
AbstractDocument.I18NProperty
Document property that indicates whether internationalization
functions such as text reordering or reshaping should be
performed.
|
static String |
StyleConstants.IconElementName
Name of elements used to represent icons.
|
static String |
DefaultEditorKit.insertBreakAction
Name of the action to place a line/paragraph break into
the document.
|
static String |
DefaultEditorKit.insertContentAction
Name of the action to place content into the associated
document.
|
static String |
DefaultEditorKit.insertTabAction
Name of the action to place a tab character into
the document.
|
private String |
MaskFormatter.invalidCharacters
List of invalid characters.
|
static String |
PlainDocument.lineLimitAttribute
Name of the attribute that specifies the maximum
length of a line, if there is a maximum length.
|
private String |
AbstractWriter.lineSeparator
String used for end of line.
|
private String |
MaskFormatter.mask
The user specified mask.
|
private String |
Position.Bias.name |
static String |
DefaultEditorKit.nextWordAction
Name of the
Action for moving the caret to the
beginning of the next word. |
(package private) String |
JTextComponent.DefaultKeymap.nm |
static String |
DefaultEditorKit.pageDownAction
Name of the action to page down vertically.
|
static String |
DefaultEditorKit.pageUpAction
Name of the action to page up vertically.
|
static String |
AbstractDocument.ParagraphElementName
Name of elements used to represent paragraphs
|
static String |
DefaultEditorKit.pasteAction
Name of the action to paste the contents of the
system clipboard into the selected region, or before the
caret if nothing is selected.
|
private String |
MaskFormatter.placeholderString
String used for the passed in value if it does not completely
fill the mask.
|
static String |
DefaultEditorKit.previousWordAction
Name of the
Action for moving the caret to the
beginning of the previous word. |
static String |
DefaultEditorKit.readOnlyAction
Name of the action to set the editor into read-only
mode.
|
private String |
StyleConstants.representation |
static String |
AbstractDocument.SectionElementName
Name of elements used to hold sections (lines/paragraphs).
|
static String |
DefaultEditorKit.selectAllAction
Name of the Action for selecting the entire document
|
static String |
DefaultEditorKit.selectionBackwardAction
Name of the Action for extending the selection
by moving the caret logically backward one position.
|
static String |
DefaultEditorKit.selectionBeginAction
Name of the
Action for moving the caret
to the beginning of the document. |
static String |
DefaultEditorKit.selectionBeginLineAction
Name of the
Action for moving the caret
to the beginning of a line, extending the selection. |
static String |
DefaultEditorKit.selectionBeginParagraphAction
Name of the
Action for moving the caret
to the beginning of a paragraph, extending the selection. |
static String |
DefaultEditorKit.selectionBeginWordAction
Name of the
Action for moving the caret
to the beginning of a word, extending the selection. |
static String |
DefaultEditorKit.selectionDownAction
Name of the Action for moving the caret
logically downward one position, extending the selection.
|
static String |
DefaultEditorKit.selectionEndAction
Name of the Action for moving the caret
to the end of the document.
|
static String |
DefaultEditorKit.selectionEndLineAction
Name of the
Action for moving the caret
to the end of a line, extending the selection. |
static String |
DefaultEditorKit.selectionEndParagraphAction
Name of the
Action for moving the caret
to the end of a paragraph, extending the selection. |
static String |
DefaultEditorKit.selectionEndWordAction
Name of the Action for moving the caret
to the end of a word, extending the selection.
|
static String |
DefaultEditorKit.selectionForwardAction
Name of the Action for extending the selection
by moving the caret logically forward one position.
|
static String |
DefaultEditorKit.selectionNextWordAction
Name of the
Action for moving the selection to the
beginning of the next word, extending the selection. |
(package private) static String |
DefaultEditorKit.selectionPageDownAction
Name of the action to page down vertically, and move the
selection.
|
(package private) static String |
DefaultEditorKit.selectionPageLeftAction
Name of the action to page left horizontally, and move the
selection.
|
(package private) static String |
DefaultEditorKit.selectionPageRightAction
Name of the action to page right horizontally, and move the
selection.
|
(package private) static String |
DefaultEditorKit.selectionPageUpAction
Name of the action to page up vertically, and move the
selection.
|
static String |
DefaultEditorKit.selectionPreviousWordAction
Name of the
Action for moving the selection to the
beginning of the previous word, extending the selection. |
static String |
DefaultEditorKit.selectionUpAction
Name of the Action for moving the caret
logically upward one position, extending the selection.
|
static String |
DefaultEditorKit.selectLineAction
Name of the Action for selecting a line around the caret.
|
static String |
DefaultEditorKit.selectParagraphAction
Name of the Action for selecting a paragraph around the caret.
|
static String |
DefaultEditorKit.selectWordAction
Name of the Action for selecting a word around the caret.
|
private String |
NumberFormatter.specialChars
The special characters from the Format instance.
|
static String |
Document.StreamDescriptionProperty
The property name for the description of the stream
used to initialize the document.
|
protected String |
StringContent.InsertUndo.string |
protected String |
StringContent.RemoveUndo.string |
private String |
InternationalFormatter.string
Current value being displayed.
|
protected String |
GapContent.InsertUndo.string
The string that was inserted.
|
protected String |
GapContent.RemoveUndo.string
The string that was removed.
|
static String |
PlainDocument.tabSizeAttribute
Name of the attribute that specifies the tab
size for tabs contained in the content.
|
(package private) String |
DefaultFormatter.ReplaceHolder.text
The text to insert, may be null.
|
static String |
Document.TitleProperty
The property name for the title of the document, if
there is one.
|
(package private) static String |
DefaultEditorKit.toggleComponentOrientationAction
Name of the Action for toggling the component's orientation.
|
(package private) static String |
DefaultEditorKit.unselectAction
Name of the Action for removing selection
|
static String |
DefaultEditorKit.upAction
Name of the Action for moving the caret
logically upward one position.
|
private String |
MaskFormatter.validCharacters
List of valid characters.
|
static String |
DefaultEditorKit.writableAction
Name of the action to set the editor into writeable
mode.
|
| Modifier and Type | Field and Description |
|---|---|
private static Hashtable<Object,String> |
StyleContext.freezeKeyMap |
private static Map<String,Boolean> |
JTextComponent.overrideMap
Maps from class name to Boolean indicating if
processInputMethodEvent has been overriden. |
private static Hashtable<String,Object> |
StyleContext.thawKeyMap |
| Modifier and Type | Method and Description |
|---|---|
String |
JTextComponent.AccessibleJTextComponent.getAccessibleActionDescription(int i)
Returns a description of the specified action of the object.
|
String |
JTextComponent.AccessibleJTextComponent.getAfterIndex(int part,
int index)
Returns the String after a given index.
|
String |
JTextComponent.AccessibleJTextComponent.getAtIndex(int part,
int index)
Returns the String at a given index.
|
private String |
JTextComponent.AccessibleJTextComponent.getAtIndex(int part,
int index,
int direction)
Gets the word, sentence, or character at
index. |
String |
JTextComponent.AccessibleJTextComponent.getBeforeIndex(int part,
int index)
Returns the String before a given index.
|
String |
ChangedCharSetException.getCharSetSpec() |
abstract String |
EditorKit.getContentType()
Gets the MIME type of the data that this
kit represents support for.
|
String |
DefaultEditorKit.getContentType()
Gets the MIME type of the data that this
kit represents support for.
|
static String |
StyleConstants.getFontFamily(AttributeSet a)
Gets the font family setting from the attribute list.
|
String |
MaskFormatter.getInvalidCharacters()
Returns the characters that are not valid for input.
|
String |
AbstractWriter.getLineSeparator()
Returns the string used to represent newlines.
|
String |
MaskFormatter.getMask()
Returns the formatting mask.
|
String |
StyleContext.NamedStyle.getName()
Fetches the name of the style.
|
String |
Style.getName()
Fetches the name of the style.
|
String |
Keymap.getName()
Fetches the name of the set of key-bindings.
|
String |
JTextComponent.DefaultKeymap.getName() |
String |
Element.getName()
Fetches the name of the element.
|
String |
DefaultStyledDocument.SectionElement.getName()
Gets the name of the element.
|
String |
AbstractDocument.AbstractElement.getName()
Gets the name of the element.
|
String |
AbstractDocument.BranchElement.getName()
Gets the element name.
|
String |
AbstractDocument.LeafElement.getName()
Gets the element name.
|
String |
AbstractDocument.BidiRootElement.getName()
Gets the name of the element.
|
String |
AbstractDocument.BidiElement.getName()
Gets the name of the element.
|
String |
MaskFormatter.getPlaceholder()
Returns the String to use if the value does not completely fill
in the mask.
|
String |
AbstractDocument.DefaultDocumentEvent.getPresentationName()
Provides a localized, human readable description of this edit
suitable for use in, say, a change log.
|
String |
AbstractDocument.DefaultDocumentEvent.getRedoPresentationName()
Provides a localized, human readable description of the redoable
form of this edit, e.g.
|
(package private) String |
DefaultFormatter.getReplaceString(int offset,
int deleteLength,
String replaceString)
A convenience methods to return the result of deleting
deleteLength characters at offset
and inserting replaceString at offset
in the current text field. |
String |
JTextComponent.getSelectedText()
Returns the selected text contained in this
TextComponent. |
String |
JTextComponent.AccessibleJTextComponent.getSelectedText()
Returns the portion of the text that is selected.
|
String |
StringContent.getString(int where,
int len)
Retrieves a portion of the content.
|
String |
GapContent.getString(int where,
int len)
Retrieves a portion of the content.
|
String |
AbstractDocument.Content.getString(int where,
int len)
Fetches a string of characters contained in the sequence.
|
String |
JTextComponent.getText()
Returns the text contained in this
TextComponent. |
protected String |
AbstractWriter.getText(Element elem)
Returns the text associated with the element.
|
String |
JTextComponent.getText(int offs,
int len)
Fetches a portion of the text represented by the
component.
|
String |
Document.getText(int offset,
int length)
Fetches the text contained within the given portion
of the document.
|
String |
AbstractDocument.getText(int offset,
int length)
Gets a sequence of text from the document.
|
String |
JTextComponent.AccessibleJTextComponent.getTextRange(int startIndex,
int endIndex)
Returns the text string between two indices.
|
String |
View.getToolTipText(float x,
float y,
Shape allocation)
Returns the tooltip text at the specified location.
|
String |
JTextComponent.getToolTipText(MouseEvent event)
Returns the string to be used as the tooltip for
event. |
String |
AbstractDocument.DefaultDocumentEvent.getUndoPresentationName()
Provides a localized, human readable description of the undoable
form of this edit, e.g.
|
String |
MaskFormatter.getValidCharacters()
Returns the valid characters that can be input.
|
protected String |
JTextComponent.paramString()
Returns a string representation of this
JTextComponent. |
private String |
MaskFormatter.stripLiteralChars(String string)
Removes the literal characters from the passed in string.
|
String |
TabStop.toString() |
String |
TabSet.toString()
Returns the string representation of the set of tabs.
|
String |
StyleContext.toString()
Converts a StyleContext to a String.
|
String |
StyleContext.SmallAttributeSet.toString()
Returns a string showing the key/value pairs
|
String |
StyleContext.NamedStyle.toString()
Converts the style to a string.
|
String |
StyleConstants.toString()
Returns the string representation.
|
String |
StringContent.StickyPosition.toString() |
String |
SimpleAttributeSet.toString()
Converts the attribute set to a String.
|
String |
Segment.toString()
Converts a segment into a String.
|
String |
Position.Bias.toString()
string representation
|
String |
JTextComponent.DropLocation.toString()
Returns a string representation of this drop location.
|
String |
JTextComponent.DefaultKeymap.toString()
String representation of the keymap...
|
String |
JTextComponent.MutableCaretEvent.toString() |
String |
GapContent.StickyPosition.toString() |
String |
DefaultStyledDocument.ElementSpec.toString()
Converts the element to a string.
|
String |
DefaultStyledDocument.ElementBuffer.ElemChanges.toString() |
String |
DefaultCaret.toString() |
String |
AbstractDocument.BranchElement.toString()
Converts the element to a string.
|
String |
AbstractDocument.LeafElement.toString()
Converts the element to a string.
|
String |
AbstractDocument.DefaultDocumentEvent.toString()
Returns a string description of the change event.
|
String |
MaskFormatter.valueToString(Object value)
Returns a String representation of the Object
value
based on the mask. |
String |
InternationalFormatter.valueToString(Object value)
Returns a String representation of the Object
value. |
String |
DefaultFormatter.valueToString(Object value)
Converts the passed in Object into a String by way of the
toString method. |
| Modifier and Type | Method and Description |
|---|---|
private static HashMap<String,Keymap> |
JTextComponent.getKeymapTable() |
| Modifier and Type | Method and Description |
|---|---|
static Keymap |
JTextComponent.addKeymap(String nm,
Keymap parent)
Adds a new keymap into the keymap hierarchy.
|
Style |
StyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy.
|
Style |
StyleContext.addStyle(String nm,
Style parent)
Adds a new style into the style hierarchy.
|
Style |
DefaultStyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy.
|
void |
MaskFormatter.MaskCharacter.append(StringBuilder buff,
String formatting,
int[] index,
String placeholder)
Appends the necessary character in
formatting at
index to buff. |
private void |
MaskFormatter.append(StringBuilder result,
String value,
int[] index,
String placeholder,
MaskFormatter.MaskCharacter[] mask)
Invokes
append on the mask characters in
mask. |
Font |
StyleContext.getFont(String family,
int style,
int size)
Gets a new font.
|
private int |
MaskFormatter.getInvalidOffset(String string,
boolean completeMatch)
Returns -1 if the passed in string is valid, otherwise the index of
the first bogus character is returned.
|
static Keymap |
JTextComponent.getKeymap(String nm)
Fetches a named keymap previously added to the document.
|
(package private) DefaultFormatter.ReplaceHolder |
InternationalFormatter.getReplaceHolder(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs)
Overriden to return an instance of
ExtendedReplaceHolder. |
(package private) DefaultFormatter.ReplaceHolder |
DefaultFormatter.getReplaceHolder(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs)
Returns the ReplaceHolder to track the replace of the specified
text.
|
(package private) String |
DefaultFormatter.getReplaceString(int offset,
int deleteLength,
String replaceString)
A convenience methods to return the result of deleting
deleteLength characters at offset
and inserting replaceString at offset
in the current text field. |
Style |
StyledDocument.getStyle(String nm)
Fetches a named style previously added.
|
Style |
StyleContext.getStyle(String nm)
Fetches a named style previously added to the document
|
Style |
DefaultStyledDocument.getStyle(String nm)
Fetches a named style previously added.
|
(package private) void |
AbstractDocument.handleInsertString(int offs,
String str,
AttributeSet a)
Performs the actual work of inserting the text; it is assumed the
caller has obtained a write lock before invoking this.
|
void |
DocumentFilter.insertString(DocumentFilter.FilterBypass fb,
int offset,
String string,
AttributeSet attr)
Invoked prior to insertion of text into the
specified Document.
|
void |
DefaultFormatter.DefaultDocumentFilter.insertString(DocumentFilter.FilterBypass fb,
int offset,
String string,
AttributeSet attr) |
UndoableEdit |
StringContent.insertString(int where,
String str)
Inserts a string into the content.
|
UndoableEdit |
GapContent.insertString(int where,
String str)
Inserts a string into the content.
|
UndoableEdit |
AbstractDocument.Content.insertString(int where,
String str)
Inserts a string of characters into the sequence.
|
void |
PlainDocument.insertString(int offs,
String str,
AttributeSet a)
Inserts some content into the document.
|
abstract void |
DocumentFilter.FilterBypass.insertString(int offset,
String string,
AttributeSet attr)
Inserts the specified text, bypassing the
DocumentFilter.
|
void |
Document.insertString(int offset,
String str,
AttributeSet a)
Inserts a string of content.
|
void |
AbstractDocument.insertString(int offs,
String str,
AttributeSet a)
Inserts some content into the document.
|
void |
AbstractDocument.DefaultFilterBypass.insertString(int offset,
String string,
AttributeSet attr) |
void |
JTextComponent.AccessibleJTextComponent.insertTextAtIndex(int index,
String s)
Inserts the specified string at the given index
|
private void |
JTextComponent.invokeAction(String name,
Action altAction)
This is a conveniance method that is only useful for
cut, copy and paste. |
(package private) boolean |
NumberFormatter.isLegalInsertText(String text)
Subclassed to return false if
text contains in an invalid
character to insert, that is, it is not a digit
(Character.isDigit()) and
not one of the characters defined by the DecimalFormatSymbols. |
(package private) boolean |
DefaultFormatter.isLegalInsertText(String text)
Returns true if the text in
text can be inserted. |
private void |
JTextComponent.mapCommittedTextToAction(String committedText) |
static Keymap |
JTextComponent.removeKeymap(String nm)
Removes a named keymap previously added to the document.
|
void |
StyledDocument.removeStyle(String nm)
Removes a named style previously added to the document.
|
void |
StyleContext.removeStyle(String nm)
Removes a named style previously added to the document.
|
void |
DefaultStyledDocument.removeStyle(String nm)
Removes a named style previously added to the document.
|
(package private) void |
NumberFormatter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String string,
AttributeSet attr)
Overriden to toggle the value if the positive/minus sign
is inserted.
|
(package private) void |
InternationalFormatter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs)
Overriden to unconditionally allow the replace if
ignoreDocumentMutate is true.
|
void |
DocumentFilter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs)
Invoked prior to replacing a region of text in the
specified Document.
|
(package private) void |
DefaultFormatter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs)
DocumentFilter method, funnels into
replace. |
void |
DefaultFormatter.DefaultDocumentFilter.replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attr) |
abstract void |
DocumentFilter.FilterBypass.replace(int offset,
int length,
String string,
AttributeSet attrs)
Deletes the region of text from
offset to
offset + length, and replaces it with
text. |
void |
AbstractDocument.replace(int offset,
int length,
String text,
AttributeSet attrs)
Deletes the region of text from
offset to
offset + length, and replaces it with text. |
void |
AbstractDocument.DefaultFilterBypass.replace(int offset,
int length,
String text,
AttributeSet attrs) |
void |
JTextComponent.replaceSelection(String content)
Replaces the currently selected content with new content
represented by the given string.
|
void |
JTextComponent.AccessibleJTextComponent.replaceText(int startIndex,
int endIndex,
String s)
Replaces the text between two indices with the specified
string.
|
(package private) void |
DefaultFormatter.ReplaceHolder.reset(DocumentFilter.FilterBypass fb,
int offset,
int length,
String text,
AttributeSet attrs) |
static void |
StyleConstants.setFontFamily(MutableAttributeSet a,
String fam)
Sets the font attribute.
|
void |
MaskFormatter.setInvalidCharacters(String invalidCharacters)
Allows for further restricting of the characters that can be input.
|
void |
AbstractWriter.setLineSeparator(String value)
Sets the String used to reprsent newlines.
|
void |
MaskFormatter.setMask(String mask)
Sets the mask dictating the legal characters.
|
void |
StyleContext.NamedStyle.setName(String name)
Changes the name of the style.
|
void |
MaskFormatter.setPlaceholder(String placeholder)
Sets the string to use if the value does not completely fill in
the mask.
|
void |
JTextComponent.setText(String t)
Sets the text of this
TextComponent
to the specified text. |
void |
JTextComponent.AccessibleJTextComponent.setTextContents(String s)
Sets the text contents to the specified string.
|
void |
MaskFormatter.setValidCharacters(String validCharacters)
Allows for further restricting of the characters that can be input.
|
void |
StyleContext.FontKey.setValue(String family,
int style,
int size) |
Object |
MaskFormatter.stringToValue(String value)
Parses the text, returning the appropriate Object representation of
the String
value. |
Object |
InternationalFormatter.stringToValue(String text)
Returns the
Object representation of the
String text. |
Object |
DefaultFormatter.stringToValue(String string)
Converts the passed in String into an instance of
getValueClass by way of the constructor that
takes a String argument. |
private Object |
MaskFormatter.stringToValue(String value,
boolean completeMatch)
Actual
stringToValue implementation. |
(package private) Object |
NumberFormatter.stringToValue(String text,
Format f)
Invokes
parseObject on f, returning
its value. |
(package private) Object |
InternationalFormatter.stringToValue(String text,
Format f)
Invokes
parseObject on f, returning
its value. |
private String |
MaskFormatter.stripLiteralChars(String string)
Removes the literal characters from the passed in string.
|
protected void |
AbstractWriter.write(String content)
Writes out a string.
|
| Constructor and Description |
|---|
BadLocationException(String s,
int offs)
Creates a new BadLocationException object.
|
ChangedCharSetException(String charSetSpec,
boolean charSetKey) |
DefaultEditorKit.BeginAction(String nm,
boolean select) |
DefaultEditorKit.BeginLineAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.BeginParagraphAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.BeginWordAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.DeleteWordAction(String name) |
DefaultEditorKit.EndAction(String nm,
boolean select) |
DefaultEditorKit.EndLineAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.EndParagraphAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.EndWordAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.NextVisualPositionAction(String nm,
boolean select,
int direction)
Create this action with the appropriate identifier.
|
DefaultEditorKit.NextWordAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.PageAction(String nm,
boolean left,
boolean select)
Create this object with the appropriate identifier.
|
DefaultEditorKit.PreviousWordAction(String nm,
boolean select)
Create this action with the appropriate identifier.
|
DefaultEditorKit.VerticalPageAction(String nm,
int direction,
boolean select)
Create this object with the appropriate identifier.
|
GapContent.RemoveUndo(int offset,
String string) |
InternationalFormatter.IncrementAction(String name,
int direction) |
JTextComponent.DefaultKeymap(String nm,
Keymap parent) |
JTextComponent.KeyBinding(KeyStroke key,
String actionName)
Creates a new key binding.
|
MaskFormatter(String mask)
Creates a
MaskFormatter with the specified mask. |
Position.Bias(String name) |
StateInvariantError(String s)
Creates a new StateInvariantFailure object.
|
StringContent.RemoveUndo(int offset,
String string) |
StyleConstants.CharacterConstants(String representation) |
StyleConstants.ColorConstants(String representation) |
StyleConstants.FontConstants(String representation) |
StyleConstants.ParagraphConstants(String representation) |
StyleConstants(String representation) |
StyleContext.FontKey(String family,
int style,
int size)
Constructs a font key.
|
StyleContext.NamedStyle(String name,
Style parent)
Creates a new named style.
|
StyledEditorKit.AlignmentAction(String nm,
int a)
Creates a new AlignmentAction.
|
StyledEditorKit.FontFamilyAction(String nm,
String family)
Creates a new FontFamilyAction.
|
StyledEditorKit.FontSizeAction(String nm,
int size)
Creates a new FontSizeAction.
|
StyledEditorKit.ForegroundAction(String nm,
Color fg)
Creates a new ForegroundAction.
|
StyledEditorKit.StyledTextAction(String nm)
Creates a new StyledTextAction from a string action name.
|
TextAction(String name)
Creates a new JTextAction object.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
HTMLDocument.AdditionalComments
Document property key value.
|
private String |
HTMLDocument.baseTarget
BASE tag's TARGET attribute value
|
static String |
HTMLEditorKit.BOLD_ACTION
The bold action identifier
|
(package private) String[] |
FrameSetView.children |
static String |
HTMLEditorKit.COLOR_ACTION
The Color choice action identifier
The color is passed as an argument
|
private String |
FormSubmitEvent.data |
static String |
HTMLEditorKit.DEFAULT_CSS
Default Cascading Style Sheet file that sets
up the tag views.
|
(package private) String |
HTMLDocument.HTMLReader.defaultStyle
Name of style to use.
|
private String |
CSS.Attribute.defaultValue |
(package private) String |
CSS.FontFamily.family |
static String |
HTMLEditorKit.FONT_CHANGE_BIGGER
The font size increase to next value action identifier
|
static String |
HTMLEditorKit.FONT_CHANGE_SMALLER
The font size decrease to next value action identifier
|
private String |
HTMLEditorKit.LinkController.href |
protected String |
HTMLEditorKit.InsertHTMLTextAction.html
HTML to insert.
|
private static String |
HTMLDocument.I18NProperty
I18N property key.
|
private static String |
ImageView.IMAGE_CACHE_PROPERTY
Document property for image cache.
|
static String |
HTMLEditorKit.IMG_ALIGN_BOTTOM
Align images at the bottom.
|
static String |
HTMLEditorKit.IMG_ALIGN_MIDDLE
Align images in the middle.
|
static String |
HTMLEditorKit.IMG_ALIGN_TOP
Align images at the top.
|
static String |
HTMLEditorKit.IMG_BORDER
Align images at the border.
|
(package private) String |
TextAreaDocument.initialText |
private static String |
HTMLEditorKit.INSERT_HR_HTML
HTML used when inserting hr.
|
private static String |
HTMLEditorKit.INSERT_OL_HTML
HTML used when inserting ordered lists.
|
private static String |
HTMLEditorKit.INSERT_PRE_HTML
HTML used when inserting pre.
|
private static String |
HTMLEditorKit.INSERT_TABLE_HTML
HTML used when inserting tables.
|
private static String |
HTMLEditorKit.INSERT_UL_HTML
HTML used when inserting unordered lists.
|
static String |
HTMLEditorKit.ITALIC_ACTION
The italic action identifier
|
private String |
Option.label |
static String |
HTMLEditorKit.LOGICAL_STYLE_ACTION
The logical style choice action identifier
The logical style is passed in as an argument
|
(package private) static String |
HTMLDocument.MAP_PROPERTY
Property Maps are registered under, will be a Hashtable.
|
private static String |
ImageView.MISSING_IMAGE
Property name for missing image icon
|
(package private) String |
StyleSheet.ResolvedStyle.name
The name of the Style, which is the selector.
|
private String |
ResourceLoader.name |
private String |
Map.name
Name of the Map.
|
(package private) String |
HTML.Tag.name |
private String |
HTML.Attribute.name |
private String |
CSS.Attribute.name |
private String |
CSS.Value.name |
private String |
HRuleView.noshade |
static String |
HTML.NULL_ATTRIBUTE_VALUE |
static String |
HTMLEditorKit.PARA_INDENT_LEFT
The paragraph left indent action identifier
|
static String |
HTMLEditorKit.PARA_INDENT_RIGHT
The paragraph right indent action identifier
|
private static String |
ImageView.PENDING_IMAGE
Property name for pending image icon
|
(package private) static String |
FormView.PostDataProperty
Document attribute name for storing POST data.
|
(package private) String |
StyleSheet.CssParser.propertyName
Name of the current property.
|
static String |
FormView.RESET
Deprecated.
As of 1.3, value comes from UIManager UIManager property
FormView.resetButtonText
|
(package private) static String |
HTMLDocument.StyleType
Document property key value.
|
static String |
FormView.SUBMIT
Deprecated.
As of 1.3, value now comes from UIManager property
FormView.submitButtonText
|
(package private) String |
CSS.CssValue.svalue
The value as a string...
|
private String |
HTMLFrameHyperlinkEvent.targetFrame |
(package private) static String |
HTMLDocument.TokenThreshold
Document property for the number of tokens to buffer
before building an element subtree to represent them.
|
(package private) String |
CSS.LengthValue.units |
(package private) String |
CSS.LengthUnit.units |
| Modifier and Type | Field and Description |
|---|---|
private static Hashtable<String,HTML.Attribute> |
HTML.attHashtable |
private static Hashtable<String,CSS.Attribute> |
CSS.attributeMap |
private HashMap<String,StyleSheet.SelectorMapping> |
StyleSheet.SelectorMapping.children
Any sub selectors.
|
private static Hashtable<String,CSS.Value> |
CSS.cssValueToInternalValueMap
Maps from CSS value (string) to internal value.
|
private static Hashtable<String,CSS.Value> |
CSS.htmlValueToCssValueMap
Maps from HTML value to a CSS value.
|
(package private) static Hashtable<String,Float> |
CSS.LengthUnit.lengthMapping |
private HashMap<String,ButtonGroup> |
HTMLDocument.radioButtonGroupsMap |
private Hashtable<String,StyleSheet.ResolvedStyle> |
StyleSheet.resolvedStyles
Maps from selector (as a string) to Style that includes all
relevant styles.
|
(package private) Vector<String> |
StyleSheet.CssParser.selectorTokens |
private Hashtable<String,String> |
MinimalHTMLWriter.styleNameMapping
Maps from style name as held by the Document, to the archived
style name (style name written out).
|
private Hashtable<String,String> |
MinimalHTMLWriter.styleNameMapping
Maps from style name as held by the Document, to the archived
style name (style name written out).
|
private static Hashtable<String,HTML.Tag> |
HTML.tagHashtable |
private static Hashtable<String,CSS.Value> |
CSS.valueMap |
(package private) static Hashtable<String,Float> |
CSS.LengthUnit.w3cLengthMapping |
| Modifier and Type | Method and Description |
|---|---|
private String |
StyleSheet._cleanSelectorString(String selector)
Returns a new String that contains only one space between non
white space characters.
|
private String |
MinimalHTMLWriter.addStyleName(String style)
Adds the style named
style to the style mapping. |
(package private) String |
StyleSheet.cleanSelectorString(String selector)
Returns a string that only has one space between simple selectors,
which may be the passed in String.
|
(package private) static String |
CSS.colorToHex(Color color)
Converts a type Color to a hex string
in the format "#RRGGBB"
|
(package private) String |
StyleSheet.ListPainter.formatAlphaNumerals(int itemNum)
Converts the item number into an alphabetic character
|
(package private) String |
StyleSheet.ListPainter.formatItemNum(int itemNum,
char type)
Converts the item number into the ordered list number
(i.e.
|
(package private) String |
StyleSheet.ListPainter.formatRomanDigit(int level,
int digit)
Converts the item number into a roman numeral
|
(package private) String |
StyleSheet.ListPainter.formatRomanNumerals(int num)
Converts the item number into a roman numeral
|
(package private) String |
StyleSheet.ListPainter.formatRomanNumerals(int level,
int num)
Converts the item number into a roman numeral
|
String |
AccessibleHTML.TableElementInfo.TableAccessibleContext.getAccessibleColumnHeader(int c)
Returns the column header at a column in a table.
|
String |
AccessibleHTML.RootHTMLAccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
AccessibleHTML.IconElementInfo.IconAccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
AccessibleHTML.TableElementInfo.TableAccessibleContext.getAccessibleDescription()
Gets the accessibleDescription property of this object.
|
String |
AccessibleHTML.IconElementInfo.IconAccessibleContext.getAccessibleIconDescription()
Gets the description of the icon.
|
String |
AccessibleHTML.RootHTMLAccessibleContext.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
AccessibleHTML.IconElementInfo.IconAccessibleContext.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
AccessibleHTML.TableElementInfo.TableAccessibleContext.getAccessibleName()
Gets the accessibleName property of this object.
|
String |
AccessibleHTML.TableElementInfo.TableAccessibleContext.getAccessibleRowHeader(int r)
Returns the row header at a row in a table.
|
String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getAfterIndex(int part,
int index) |
String |
ImageView.getAltText()
Returns the text to display if the image can't be loaded.
|
String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getAtIndex(int part,
int index) |
private String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getAtIndex(int part,
int index,
int direction)
Gets the word, sentence, or character at
index. |
(package private) String |
HTMLDocument.getBaseTarget() |
String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getBeforeIndex(int part,
int index) |
String |
HTMLEditorKit.getContentType()
Get the MIME type of the data that this
kit represents support for.
|
String |
FormSubmitEvent.getData()
Gets the form submission data.
|
(package private) String |
HTMLDocument.getDefaultStyleSheetType()
Returns the content type language used for style sheets.
|
String |
CSS.Attribute.getDefaultValue()
Fetch the default value for the attribute.
|
private String |
FormView.getImageData(Point point)
Extracts the value of the name attribute
associated with the input element of type
image.
|
private String |
FormView.getInputElementData(AttributeSet attr)
Returns the data associated with an <INPUT> form
element.
|
String |
Option.getLabel()
Fetch the label associated with the option.
|
private String |
HTMLEditorKit.LinkController.getMapHREF(JEditorPane html,
HTMLDocument hdoc,
Element elem,
AttributeSet attr,
int offset,
int x,
int y)
Returns a string anchor if the passed in element has a
USEMAP that contains the passed in location.
|
String |
StyleSheet.ResolvedStyle.getName() |
String |
Map.getName()
Returns the name of the Map.
|
String |
HTMLDocument.RunElement.getName()
Gets the name of the element.
|
String |
HTMLDocument.BlockElement.getName()
Gets the name of the element.
|
(package private) String |
HiddenTagView.getRepresentedText() |
(package private) String |
CommentView.getRepresentedText() |
String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getSelectedText()
Returns the portion of the text that is selected.
|
(package private) String[] |
StyleSheet.getSimpleSelectors(String selector)
Returns the simple selectors that comprise selector.
|
String |
HTMLFrameHyperlinkEvent.getTarget()
returns the target for the link.
|
private String |
AccessibleHTML.TextElementInfo.TextAccessibleContext.getText(int offset,
int length) |
private String |
FormView.getTextAreaData(AttributeSet attr)
Returns the data associated with the <TEXTAREA> form
element.
|
String |
ImageView.getToolTipText(float x,
float y,
Shape allocation)
For images the tooltip text comes from text specified with the
ALT attribute. |
String |
Option.getValue()
Convenience method to return the string associated
with the
value attribute. |
(package private) String |
CSS.FontFamily.getValue()
Returns the font family to use.
|
private String |
MinimalHTMLWriter.mapStyleName(String style)
Returns the mapped style name corresponding to
style. |
private String[] |
FrameSetView.parseRowColSpec(HTML.Attribute key)
Parses the ROW or COL attributes and returns
an array of strings that represent the space
distribution.
|
(package private) static String[] |
CSS.parseStrings(String value) |
String |
OptionListModel.toString() |
String |
Option.toString()
String representation is the label.
|
String |
HTML.Tag.toString()
Returns the string representation of the
tag.
|
String |
HTML.Attribute.toString()
Returns the string representation of this attribute.
|
String |
CSS.Attribute.toString()
The string representation of the attribute.
|
String |
CSS.Value.toString()
The string representation of the attribute.
|
String |
CSS.CssValue.toString()
Return the CSS format of the value
|
String |
CSS.LengthUnit.toString() |
| Modifier and Type | Method and Description |
|---|---|
private String |
StyleSheet._cleanSelectorString(String selector)
Returns a new String that contains only one space between non
white space characters.
|
private void |
HTMLEditorKit.ActivateLinkAction.activateLink(String href,
HTMLDocument doc,
JEditorPane editor,
int offset) |
void |
StyleSheet.addCSSAttribute(MutableAttributeSet attr,
CSS.Attribute key,
String value)
Adds a CSS attribute to the given set.
|
boolean |
StyleSheet.addCSSAttributeFromHTML(MutableAttributeSet attr,
CSS.Attribute key,
String value)
Adds a CSS attribute to the given set.
|
(package private) void |
HTMLDocument.HTMLReader.addCSSRules(String rules)
Adds the CSS rules in
rules. |
private void |
HTMLDocument.HTMLReader.addExternalComment(String comment)
Adds the comment
comment to the set of comments
maintained outside of the scope of elements. |
(package private) void |
CSS.addInternalCSSValue(MutableAttributeSet attr,
CSS.Attribute key,
String value)
Parses the CSS property
key with value
value placing the result in att. |
void |
StyleSheet.addRule(String rule)
Adds a set of rules to the sheet.
|
(package private) void |
StyleSheet.addRule(String[] selector,
AttributeSet declaration,
boolean isLinked)
Adds a rule into the StyleSheet.
|
private String |
MinimalHTMLWriter.addStyleName(String style)
Adds the style named
style to the style mapping. |
private void |
FormView.appendBuffer(StringBuilder buffer,
String name,
String value)
Appends name / value pairs into the
buffer.
|
(package private) int |
StyleSheet.ResolvedStyle.boundedIndexOf(String string,
char search,
int start,
int end)
Similiar to String.indexOf, but allows an upper bound
(this is slower in that it will still check string starting at
start.
|
(package private) String |
StyleSheet.cleanSelectorString(String selector)
Returns a string that only has one space between simple selectors,
which may be the passed in String.
|
(package private) HyperlinkEvent |
HTMLEditorKit.LinkController.createHyperlinkEvent(JEditorPane html,
HTMLDocument hdoc,
String href,
AttributeSet anchor,
Element element,
MouseEvent mouseEvent)
Creates and returns a new instance of HyperlinkEvent.
|
private Style |
StyleSheet.createResolvedStyle(String selector)
Creates and returns a Style containing all the rules that match
selector. |
private Style |
StyleSheet.createResolvedStyle(String selector,
String[] tags,
String[] ids,
String[] classes)
Creates and returns a Style containing all the rules that match
selector. |
private Style |
StyleSheet.createResolvedStyle(String selector,
String[] tags,
String[] ids,
String[] classes)
Creates and returns a Style containing all the rules that match
selector. |
private Style |
StyleSheet.createResolvedStyle(String selector,
String[] tags,
String[] ids,
String[] classes)
Creates and returns a Style containing all the rules that match
selector. |
private Style |
StyleSheet.createResolvedStyle(String selector,
String[] tags,
String[] ids,
String[] classes)
Creates and returns a Style containing all the rules that match
selector. |
private Style |
StyleSheet.createResolvedStyle(String selector,
Vector elements,
HTML.Tag t)
Creates and returns a Style containing all the rules that
matches
selector. |
private Element |
HTMLDocument.findFrame(String frameName)
Searches the element hierarchy for an FRAME element
that has its name attribute equal to the
frameName. |
(package private) void |
HTMLEditorKit.LinkController.fireEvents(JEditorPane editor,
HTMLDocument doc,
String href,
Element lastElem,
MouseEvent mouseEvent) |
static CSS.Attribute |
CSS.getAttribute(String name)
Translates a string to a
CSS.Attribute object. |
static HTML.Attribute |
HTML.getAttributeKey(String attName)
Fetches an attribute constant for a well-known attribute name
(i.e.
|
StyleSheet.SelectorMapping |
StyleSheet.SelectorMapping.getChildSelectorMapping(String selector,
boolean create)
Returns the child mapping identified by the simple selector
selector. |
protected int |
StyleSheet.SelectorMapping.getChildSpecificity(String selector)
Returns the specificity for the child selector
selector. |
private static int |
CSS.getColorComponent(String string,
int[] index)
Returns the next integer value from
string starting
at index[0]. |
(package private) Object |
CSS.getCssValue(CSS.Attribute cssAttr,
String htmlAttrValue)
Given a CSS.Attribute object and its corresponding HTML.Attribute's
value, this method returns a CssValue object to associate with the
CSS attribute.
|
AttributeSet |
StyleSheet.getDeclaration(String decl)
Translates a CSS declaration to an AttributeSet that represents
the CSS declaration.
|
EditorKit |
FrameView.FrameEditorPane.getEditorKitForContentType(String type) |
Element |
HTMLDocument.getElement(String id)
Returns the element that has the given id
Attribute. |
(package private) Object |
CSS.getInternalCSSValue(CSS.Attribute key,
String value)
Gets the internal CSS representation of
value which is
a CSS value of the CSS attribute named key. |
(package private) Map |
HTMLDocument.getMap(String name)
Returns the Map associated with the given name.
|
float |
StyleSheet.getPointSize(String size)
Given a string such as "+2", "-2", or "2",
returns a point size value.
|
(package private) float |
CSS.getPointSize(String size,
StyleSheet ss)
Returns the size of a font from the passed in string.
|
private Style |
StyleSheet.getResolvedStyle(String selector)
Returns the resolved style for
selector. |
private Style |
StyleSheet.getResolvedStyle(String selector,
Vector elements,
HTML.Tag t)
Returns the resolved style for
selector. |
static InputStream |
ResourceLoader.getResourceAsStream(String name) |
(package private) static InputStream |
HTMLEditorKit.getResourceAsStream(String name)
Fetch a resource relative to the HTMLEditorKit classfile.
|
Style |
StyleSheet.getRule(String selector)
Fetches the rule that best matches the selector given
in string form.
|
(package private) String[] |
StyleSheet.getSimpleSelectors(String selector)
Returns the simple selectors that comprise selector.
|
(package private) static int |
StyleSheet.getSpecificity(String selector)
Returns the specificity of the passed in String.
|
private void |
StyleSheet.getStyles(StyleSheet.SelectorMapping parentMapping,
Vector<StyleSheet.SelectorMapping> styles,
String[] tags,
String[] ids,
String[] classes,
int index,
int numElements,
Hashtable<StyleSheet.SelectorMapping,StyleSheet.SelectorMapping> alreadyChecked)
Adds
parentMapping to styles, and
recursively calls this method if parentMapping has
any child mappings for any of the Elements in elements. |
private void |
StyleSheet.getStyles(StyleSheet.SelectorMapping parentMapping,
Vector<StyleSheet.SelectorMapping> styles,
String[] tags,
String[] ids,
String[] classes,
int index,
int numElements,
Hashtable<StyleSheet.SelectorMapping,StyleSheet.SelectorMapping> alreadyChecked)
Adds
parentMapping to styles, and
recursively calls this method if parentMapping has
any child mappings for any of the Elements in elements. |
private void |
StyleSheet.getStyles(StyleSheet.SelectorMapping parentMapping,
Vector<StyleSheet.SelectorMapping> styles,
String[] tags,
String[] ids,
String[] classes,
int index,
int numElements,
Hashtable<StyleSheet.SelectorMapping,StyleSheet.SelectorMapping> alreadyChecked)
Adds
parentMapping to styles, and
recursively calls this method if parentMapping has
any child mappings for any of the Elements in elements. |
static HTML.Tag |
HTML.getTag(String tagName)
Fetches a tag constant for a well-known tag name (i.e.
|
(package private) static URL |
CSS.getURL(URL base,
String cssString)
Returns a URL for the given CSS url string.
|
(package private) static float |
CSS.LengthUnit.getValue(float value,
String units,
Boolean w3cLengthUnits) |
(package private) static CSS.Value |
CSS.getValue(String name)
Translates a string to a
CSS.Value object. |
void |
HTMLEditorKit.ParserCallback.handleEndOfLineString(String eol)
This is invoked after the stream has been parsed, but before
flush. |
void |
HTMLDocument.HTMLReader.handleEndOfLineString(String eol)
This is invoked after the stream has been parsed, but before
flush. |
void |
HTMLEditorKit.ParserCallback.handleError(String errorMsg,
int pos) |
void |
StyleSheet.CssParser.handleImport(String importString)
Invoked when a valid @import is encountered, will call
importStyleSheet if a
MalformedURLException is not thrown in creating
the URL. |
void |
CSSParser.CSSParserCallback.handleImport(String importString)
Called when an @import is encountered.
|
void |
StyleSheet.CssParser.handleProperty(String property)
Invoked when a property name is encountered.
|
void |
CSSParser.CSSParserCallback.handleProperty(String property) |
void |
StyleSheet.CssParser.handleSelector(String selector)
A selector has been encountered.
|
void |
CSSParser.CSSParserCallback.handleSelector(String selector) |
void |
StyleSheet.CssParser.handleValue(String value)
Invoked when a property value is encountered.
|
void |
CSSParser.CSSParserCallback.handleValue(String value) |
(package private) static Color |
CSS.hexToColor(String value)
Convert a "#FFFFFF" hex string to a Color.
|
protected void |
FormView.imageSubmit(String imageData)
This method is called to submit a form in response
to a click on an image -- an <INPUT> form
element of type "image".
|
void |
HTMLDocument.insertAfterEnd(Element elem,
String htmlText)
Inserts the HTML specified as a string after the the end of the
given element.
|
void |
HTMLDocument.insertAfterStart(Element elem,
String htmlText)
Inserts the HTML specified as a string at the start
of the element.
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
This is invoked when inserting at a boundary.
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
Deprecated.
As of Java 2 platform v1.3, use insertAtBoundary
|
void |
HTMLDocument.insertBeforeEnd(Element elem,
String htmlText)
Inserts the HTML specified as a string at the end of
the element.
|
void |
HTMLDocument.insertBeforeStart(Element elem,
String htmlText)
Inserts the HTML specified as a string before the start of
the given element.
|
private void |
HTMLDocument.insertHTML(Element parent,
int offset,
String html,
boolean wantsTrailingNewline)
Inserts a string of HTML into the document at the given position.
|
void |
HTMLEditorKit.insertHTML(HTMLDocument doc,
int offset,
String html,
int popDepth,
int pushDepth,
HTML.Tag insertTag)
Inserts HTML into an existing document.
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor,
HTMLDocument doc,
int offset,
String html,
int popDepth,
int pushDepth,
HTML.Tag addTag)
A cover for HTMLEditorKit.insertHTML.
|
void |
HTMLDocument.FixedLengthDocument.insertString(int offset,
String str,
AttributeSet a) |
(package private) static boolean |
CSS.ShorthandBackgroundParser.isAttachment(String string) |
(package private) static boolean |
CSS.ShorthandBackgroundParser.isColor(String string) |
private boolean |
CSS.isFloater(String alignValue) |
private static boolean |
CSS.ShorthandFontParser.isFontStyle(String string) |
private static boolean |
CSS.ShorthandFontParser.isFontVariant(String string) |
private static boolean |
CSS.ShorthandFontParser.isFontWeight(String string) |
(package private) static boolean |
CSS.ShorthandBackgroundParser.isImage(String string) |
(package private) static boolean |
CSS.ShorthandBackgroundParser.isPosition(String string) |
(package private) static boolean |
CSS.ShorthandBackgroundParser.isRepeat(String string) |
(package private) void |
HTMLDocument.HTMLReader.linkCSSStyleSheet(String href)
Adds the CSS stylesheet at
href to the known list
of stylesheets. |
private String |
MinimalHTMLWriter.mapStyleName(String style)
Returns the mapped style name corresponding to
style. |
protected boolean |
StyleSheet.ResolvedStyle.matches(String selector)
Returns true if the receiver matches
selector, where
a match is defined by the CSS rule matching. |
(package private) boolean |
StyleSheet.ResolvedStyle.matches(String selector,
int sCurrent,
int sLast,
int thisCurrent,
int thisLast)
Returns true if the substring of the receiver, in the range
thisCurrent, thisLast matches the substring of selector in
the ranme sCurrent to sLast based on CSS selector matching.
|
private Object |
FrameView.movePostData(JEditorPane targetPane,
String frameName)
Move POST data from temporary storage into the target document property.
|
private void |
HTMLWriter.output(String string)
This directly invokes super's
output after converting
string to a char[]. |
(package private) void |
CSS.LengthUnit.parse(String value,
short defaultType,
float defaultValue) |
(package private) Object |
CSS.CssValue.parseCssValue(String value)
Convert a CSS value string to the internal format
(for fast processing) used in the attribute sets.
|
(package private) Object |
CSS.StringValue.parseCssValue(String value)
Convert a CSS value string to the internal format
(for fast processing) used in the attribute sets.
|
(package private) Object |
CSS.FontSize.parseCssValue(String value) |
(package private) Object |
CSS.FontFamily.parseCssValue(String value) |
(package private) Object |
CSS.FontWeight.parseCssValue(String value) |
(package private) Object |
CSS.ColorValue.parseCssValue(String value) |
(package private) Object |
CSS.BorderStyle.parseCssValue(String value) |
(package private) Object |
CSS.LengthValue.parseCssValue(String value) |
(package private) Object |
CSS.BorderWidthValue.parseCssValue(String value) |
(package private) Object |
CSS.CssValueMapper.parseCssValue(String value) |
(package private) Object |
CSS.BackgroundPosition.parseCssValue(String value) |
(package private) Object |
CSS.BackgroundImage.parseCssValue(String value) |
AttributeSet |
StyleSheet.CssParser.parseDeclaration(String string)
Parses the passed in CSS declaration into an AttributeSet.
|
private int |
FrameSetView.parseDigits(String mixedStr) |
(package private) Object |
CSS.CssValue.parseHtmlValue(String value)
Convert an HTML attribute value to a CSS attribute
value.
|
(package private) Object |
CSS.FontSize.parseHtmlValue(String value) |
(package private) Object |
CSS.FontFamily.parseHtmlValue(String value) |
(package private) Object |
CSS.ColorValue.parseHtmlValue(String value) |
(package private) Object |
CSS.LengthValue.parseHtmlValue(String value) |
(package private) Object |
CSS.BorderWidthValue.parseHtmlValue(String value) |
(package private) Object |
CSS.CssValueMapper.parseHtmlValue(String value) |
(package private) Object |
CSS.BackgroundImage.parseHtmlValue(String value) |
private static Color |
CSS.parseRGB(String string)
Parses a String in the format
rgb(r, g, b) where
each of the Color components is either an integer, or a floating number
with a % after indicating a percentage value of 255. |
(package private) static void |
CSS.ShorthandBackgroundParser.parseShorthandBackground(CSS css,
String value,
MutableAttributeSet attr)
Parses the shorthand font string
value, placing the
result in attr. |
(package private) static void |
CSS.ShorthandBorderParser.parseShorthandBorder(MutableAttributeSet attributes,
CSS.Attribute key,
String value) |
(package private) static void |
CSS.ShorthandFontParser.parseShorthandFont(CSS css,
String value,
MutableAttributeSet attr)
Parses the shorthand font string
value, placing the
result in attr. |
(package private) static void |
CSS.ShorthandMarginParser.parseShorthandMargin(CSS css,
String value,
MutableAttributeSet attr,
CSS.Attribute[] names)
Parses the shorthand margin/padding/border string
value, placing the result in attr. |
(package private) static String[] |
CSS.parseStrings(String value) |
private void |
StyleSheet.refreshResolvedRules(String selectorName,
String[] selector,
Style newStyle,
int specificity)
Should be invoked when a new rule is added that did not previously
exist.
|
private void |
StyleSheet.refreshResolvedRules(String selectorName,
String[] selector,
Style newStyle,
int specificity)
Should be invoked when a new rule is added that did not previously
exist.
|
void |
StyleSheet.removeStyle(String nm)
Removes a named style previously added to the document.
|
void |
ImageView.ImageLabelView.reset(String text) |
void |
AccessibleHTML.IconElementInfo.IconAccessibleContext.setAccessibleIconDescription(String description)
Sets the description of the icon.
|
void |
StyleSheet.setBaseFontSize(String size)
Sets the base font size from the passed in String.
|
(package private) void |
CSS.setBaseFontSize(String size)
Sets the base font size from the passed in string.
|
(package private) void |
HTMLDocument.setDefaultStyleSheetType(String contentType)
Sets the content type language used for style sheets that do not
explicitly specify the type.
|
private void |
CSS.FontFamily.setFontName(CSS.FontFamily ff,
String fontName) |
void |
HTMLDocument.setInnerHTML(Element elem,
String htmlText)
Replaces the children of the given element with the contents
specified as an HTML string.
|
void |
Option.setLabel(String label)
Sets the label to be used for the option.
|
(package private) void |
HTMLDocument.HTMLReader.FormAction.setModel(String type,
MutableAttributeSet attr) |
void |
HTMLDocument.setOuterHTML(Element elem,
String htmlText)
Replaces the given element in the parent with the contents
specified as an HTML string.
|
protected void |
MinimalHTMLWriter.startFontTag(String style)
This is no longer used, instead <span> will be written out.
|
private void |
MinimalHTMLWriter.startSpanTag(String style)
Writes out a start tag for the <font> tag.
|
private void |
FormView.storePostData(HTMLDocument doc,
String target,
String data) |
Color |
StyleSheet.stringToColor(String string)
Converts a color string such as "RED" or "#NNNNNN" to a Color.
|
(package private) static Color |
CSS.stringToColor(String str)
Convert a color string such as "RED" or "#NNNNNN" or "rgb(r, g, b)"
to a Color.
|
protected void |
FormView.submitData(String data)
This method is responsible for submitting the form data.
|
private void |
CSS.translateAttribute(HTML.Attribute key,
String htmlAttrValue,
MutableAttributeSet cssAttrSet) |
private void |
HTMLDocument.updateFrame(Element element,
String url)
Updates the Frame elements
HTML.Attribute.SRC attribute
and fires a ChangedUpdate event. |
private void |
HTMLDocument.updateFrameSet(Element element,
String url)
Replaces a frameset branch Element with a frame leaf element.
|
private boolean |
CSS.validTextAlignValue(String alignValue) |
static StyleSheet.BoxPainter.HorizontalMargin |
StyleSheet.BoxPainter.HorizontalMargin.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormSubmitEvent.MethodType |
FormSubmitEvent.MethodType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
(package private) void |
HTMLWriter.writeComment(String string)
Writes out comment string.
|
protected void |
MinimalHTMLWriter.writeEndTag(String endTag)
Writes out an end tag appropriately
indented.
|
protected void |
MinimalHTMLWriter.writeStartTag(String tag)
Writes out a start tag appropriately
indented.
|
(package private) boolean |
HTMLWriter.writeStyle(String name,
Style style,
boolean outputStyle)
Outputs the named style.
|
| Constructor and Description |
|---|
CSS.Attribute(String name,
String defaultValue,
boolean inherited) |
CSS.BorderWidthValue(String svalue,
int index) |
CSS.LengthUnit(String value,
short defaultType,
float defaultValue) |
CSS.Value(String name) |
FormSubmitEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
Element sourceElement,
String targetFrame,
FormSubmitEvent.MethodType method,
String data)
Creates a new object representing an html form submit event.
|
HTML.Attribute(String id)
Creates a new
Attribute with the specified
id. |
HTML.Tag(String id)
Creates a new
Tag with the specified id,
and with causesBreak and isBlock
set to false. |
HTML.Tag(String id,
boolean causesBreak,
boolean isBlock)
Creates a new
Tag with the specified id;
causesBreak and isBlock are defined
by the user. |
HTML.UnknownTag(String id)
Creates a new
UnknownTag with the specified
id. |
HTMLEditorKit.ActivateLinkAction(String actionName)
Create this action with the appropriate identifier.
|
HTMLEditorKit.BeginAction(String nm,
boolean select) |
HTMLEditorKit.HTMLTextAction(String name) |
HTMLEditorKit.InsertHTMLTextAction(String name,
String html,
HTML.Tag parentTag,
HTML.Tag addTag) |
HTMLEditorKit.InsertHTMLTextAction(String name,
String html,
HTML.Tag parentTag,
HTML.Tag addTag,
HTML.Tag alternateParentTag,
HTML.Tag alternateAddTag) |
HTMLEditorKit.InsertHTMLTextAction(String name,
String html,
HTML.Tag parentTag,
HTML.Tag addTag,
HTML.Tag alternateParentTag,
HTML.Tag alternateAddTag,
boolean adjustSelection) |
HTMLEditorKit.NavigateLinkAction(String actionName) |
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
Element sourceElement,
String targetFrame)
Creates a new object representing a hypertext link event.
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String targetFrame)
Creates a new object representing a html frame
hypertext link event.
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String desc,
Element sourceElement,
InputEvent inputEvent,
String targetFrame)
Creates a new object representing a hypertext link event.
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String desc,
Element sourceElement,
String targetFrame)
Creates a new object representing a hypertext link event.
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String desc,
String targetFrame)
Creates a new object representing a hypertext link event.
|
ImageView.ImageLabelView(Element e,
String text) |
Map(String name) |
ResourceLoader(String name) |
StyleSheet.ResolvedStyle(String name,
AttributeSet[] attrs,
int extendedIndex) |
| Modifier and Type | Field and Description |
|---|---|
private static String |
Parser.END_COMMENT |
private String |
ResourceLoader.name |
String |
Entity.name |
String |
Element.name |
String |
DTD.name |
String |
AttributeList.name |
private static String |
Parser.START_COMMENT |
String |
AttributeList.value |
| Modifier and Type | Field and Description |
|---|---|
(package private) static Hashtable<String,Integer> |
Element.contentTypes |
Hashtable<String,Element> |
DTD.elementHash |
(package private) static Hashtable<String,Integer> |
Entity.entityTypes |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
Parser.getEndOfLineString()
Returns the end of line string.
|
String |
Entity.getName()
Gets the name of the entity.
|
String |
Element.getName()
Get the name of the element.
|
String |
DTD.getName()
Gets the name of the DTD.
|
String |
AttributeList.getName() |
String |
Entity.getString()
Returns the data as a
String. |
(package private) String |
Parser.getString(int pos)
Get the string that's been accumulated.
|
String |
AttributeList.getValue() |
(package private) String |
Parser.parseAttributeValue(boolean lower)
Parse attribute value.
|
String |
Parser.parseDTDMarkup()
Parses th Document Declaration Type markup declaration.
|
private String[] |
DTD.readNameArray(DataInputStream in,
String[] names) |
String |
TagStack.toString()
Convert to a string.
|
String |
Element.toString()
Convert to a string.
|
String |
DTD.toString()
Returns a string representation of this DTD.
|
String |
ContentModel.toString()
Convert to a string.
|
String |
AttributeList.toString() |
static String |
AttributeList.type2name(int tp) |
| Modifier and Type | Method and Description |
|---|---|
private static Hashtable<String,DTD> |
DTD.getDtdHash() |
| Modifier and Type | Method and Description |
|---|---|
protected static DTD |
ParserDelegator.createDTD(DTD dtd,
String name) |
private void |
DocumentParser.debug(String msg) |
protected AttributeList |
DTD.defAttributeList(String name,
int type,
int modifier,
String value,
String values,
AttributeList atts)
Creates and returns an
AttributeList. |
protected Element |
DTD.defElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
String[] exclusions,
String[] inclusions,
AttributeList atts)
Creates and returns an
Element. |
protected Element |
DTD.defElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
String[] exclusions,
String[] inclusions,
AttributeList atts)
Creates and returns an
Element. |
protected Element |
DTD.defElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
String[] exclusions,
String[] inclusions,
AttributeList atts)
Creates and returns an
Element. |
Entity |
DTD.defEntity(String name,
int type,
int ch)
Creates and returns a character
Entity. |
protected Entity |
DTD.defEntity(String name,
int type,
String str)
Creates and returns an
Entity. |
void |
DTD.defineAttributes(String name,
AttributeList atts)
Defines attributes for an
Element. |
(package private) static void |
AttributeList.defineAttributeType(String nm,
int val) |
Element |
DTD.defineElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
BitSet exclusions,
BitSet inclusions,
AttributeList atts)
Returns the
Element which matches the
specified parameters. |
Entity |
DTD.defineEntity(String name,
int type,
char[] data)
Defines an entity.
|
(package private) boolean |
DTD.elementExists(String name)
Returns
true if the element is part of the DTD,
otherwise returns false. |
protected void |
Parser.error(String err) |
protected void |
Parser.error(String err,
String arg1) |
protected void |
Parser.error(String err,
String arg1,
String arg2) |
protected void |
Parser.error(String err,
String arg1,
String arg2,
String arg3)
Invoke the error handler.
|
AttributeList |
Element.getAttribute(String name)
Get an attribute by name.
|
AttributeList |
Element.getAttributeByValue(String name)
Get an attribute by value.
|
static DTD |
DTD.getDTD(String name)
Returns a DTD with the specified
name. |
Element |
DTD.getElement(String name)
Gets an element by name.
|
Entity |
DTD.getEntity(String name)
Gets an entity by name.
|
static InputStream |
ResourceLoader.getResourceAsStream(String name) |
(package private) static InputStream |
ParserDelegator.getResourceAsStream(String name)
Fetch a resource relative to the ParserDelegator classfile.
|
protected void |
Parser.handleError(int ln,
String msg)
An error has occurred.
|
protected void |
DocumentParser.handleError(int ln,
String errorMsg) |
static int |
Entity.name2type(String nm)
Converts
nm string to the corresponding
entity type. |
static int |
Element.name2type(String nm) |
static int |
AttributeList.name2type(String nm) |
static void |
DTD.putDTDHash(String name,
DTD dtd) |
private AttributeList |
DTD.readAttributeList(DataInputStream in,
String[] names) |
private ContentModel |
DTD.readContentModel(DataInputStream in,
String[] names) |
private String[] |
DTD.readNameArray(DataInputStream in,
String[] names) |
| Constructor and Description |
|---|
AttributeList(String name)
Create an attribute list element.
|
AttributeList(String name,
int type,
int modifier,
String value,
Vector<?> values,
AttributeList next)
Create an attribute list element.
|
DTD(String name)
Creates a new DTD with the specified name.
|
Element(String name,
int index)
Create a new element.
|
Entity(String name,
int type,
char[] data)
Creates an entity.
|
ResourceLoader(String name) |
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
Constants.Caps |
static String |
RTFGenerator.defaultFontFamily |
(package private) static String |
Constants.Deleted |
(package private) static String |
Constants.GutterWidth |
(package private) static String |
Constants.Hidden |
String |
RTFGenerator.CharacterKeywordPair.keyword |
(package private) static String |
Constants.MarginBottom |
(package private) static String |
Constants.MarginLeft |
(package private) static String |
Constants.MarginRight |
(package private) static String |
Constants.MarginTop |
(package private) String |
RTFReader.FonttblDestination.nextFontFamily |
(package private) static String |
Constants.Outline |
(package private) static String |
Constants.PaperHeight |
(package private) static String |
Constants.PaperWidth |
private String |
RTFParser.pendingKeyword |
(package private) static String |
Constants.RTFCharacterSet
The name of the character set the original RTF file was in
|
(package private) String |
RTFAttributes.GenericAttribute.rtfName |
(package private) static String |
Constants.Shadow |
(package private) static String |
Constants.SmallCaps |
(package private) static String |
Constants.STCharacter
Value for StyleType indicating a character style
|
(package private) static String |
Constants.STParagraph
Value for StyleType indicating a paragraph style
|
(package private) static String |
Constants.Strikethrough |
(package private) static String |
Constants.STSection
Value for StyleType indicating a section style
|
(package private) static String |
Constants.StyleAdditive
Whether the style is additive
|
(package private) static String |
Constants.StyleHidden
Whether the style is hidden from the user
|
String |
RTFReader.StylesheetDestination.StyleDefiningDestination.styleName |
(package private) static String |
Constants.StyleNext
The style of the text following this style
|
(package private) static String |
Constants.StyleType
Indicates the domain of a Style
|
(package private) static String |
RTFReader.TabAlignmentKey |
(package private) static String |
RTFReader.TabLeaderKey |
(package private) static String |
Constants.Tabs
An array of TabStops
|
(package private) static String |
Constants.WidowControl |
| Modifier and Type | Field and Description |
|---|---|
(package private) static Dictionary<String,char[]> |
RTFReader.characterSets |
(package private) Dictionary<Integer,String> |
RTFReader.fontTable
This Dictionary maps Integer font numbers to String font names.
|
(package private) Dictionary<String,Integer> |
RTFGenerator.fontTable |
private static Dictionary<String,RTFAttribute> |
RTFReader.straightforwardAttributes |
(package private) static Dictionary<String,String> |
RTFReader.textKeywords
textKeywords maps RTF keywords to single-character strings,
for those keywords which simply insert some text.
|
(package private) static Dictionary<String,String> |
RTFReader.textKeywords
textKeywords maps RTF keywords to single-character strings,
for those keywords which simply insert some text.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
RTFGenerator.approximationForUnicode(char ch) |
String |
RTFEditorKit.getContentType()
Get the MIME type of the data that this
kit represents support for.
|
String |
RTFAttributes.GenericAttribute.rtfName() |
String |
RTFAttribute.rtfName() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static Dictionary<String,RTFAttribute> |
RTFAttributes.attributesByKeyword() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RTFGenerator.checkNumericControlWord(MutableAttributeSet currentAttributes,
AttributeSet newAttributes,
Object attrName,
String controlWord,
float dflt,
float scale) |
static void |
RTFReader.defineCharacterSet(String name,
char[] table)
Adds a character set to the RTFReader's list
of known character sets
|
(package private) abstract void |
RTFReader.TextHandlingDestination.deliverText(String text,
AttributeSet characterAttributes) |
void |
RTFReader.DocumentDestination.deliverText(String text,
AttributeSet characterAttributes) |
private Integer |
RTFGenerator.findStyleNumber(AttributeSet a,
String domain) |
static Object |
RTFReader.getCharacterSet(String name)
Looks up a named character set.
|
boolean |
RTFReader.handleKeyword(String keyword)
Handles a parameterless RTF keyword.
|
boolean |
RTFReader.Destination.handleKeyword(String keyword) |
boolean |
RTFReader.DiscardingDestination.handleKeyword(String text) |
boolean |
RTFReader.FonttblDestination.handleKeyword(String keyword) |
boolean |
RTFReader.ColortblDestination.handleKeyword(String keyword) |
boolean |
RTFReader.StylesheetDestination.StyleDefiningDestination.handleKeyword(String keyword) |
boolean |
RTFReader.AttributeTrackingDestination.handleKeyword(String keyword) |
boolean |
RTFReader.TextHandlingDestination.handleKeyword(String keyword) |
abstract boolean |
RTFParser.handleKeyword(String keyword)
Implemented by subclasses to interpret a parameter-less RTF keyword.
|
boolean |
RTFReader.handleKeyword(String keyword,
int parameter)
Handles an RTF keyword and its integer parameter.
|
boolean |
RTFReader.Destination.handleKeyword(String keyword,
int parameter) |
boolean |
RTFReader.DiscardingDestination.handleKeyword(String text,
int parameter) |
boolean |
RTFReader.FonttblDestination.handleKeyword(String keyword,
int parameter) |
boolean |
RTFReader.ColortblDestination.handleKeyword(String keyword,
int parameter) |
boolean |
RTFReader.StylesheetDestination.StyleDefiningDestination.handleKeyword(String keyword,
int parameter) |
boolean |
RTFReader.AttributeTrackingDestination.handleKeyword(String keyword,
int parameter) |
abstract boolean |
RTFParser.handleKeyword(String keyword,
int parameter)
Implemented by subclasses to interpret a keyword with a parameter.
|
void |
RTFReader.handleText(String text)
Handles any pure text (containing no control characters) in the input
stream.
|
void |
RTFReader.Destination.handleText(String text) |
void |
RTFReader.DiscardingDestination.handleText(String text) |
void |
RTFReader.FonttblDestination.handleText(String text) |
void |
RTFReader.ColortblDestination.handleText(String text) |
void |
RTFReader.StylesheetDestination.StyleDefiningDestination.handleText(String text) |
abstract void |
RTFReader.AttributeTrackingDestination.handleText(String text) |
void |
RTFReader.TextHandlingDestination.handleText(String text) |
abstract void |
RTFParser.handleText(String text)
Implemented by subclasses to interpret text from the RTF stream.
|
static RTFAttributes.NumericAttribute |
RTFAttributes.NumericAttribute.NewTwips(int d,
Object s,
String r,
float ds,
int dr) |
static RTFAttributes.NumericAttribute |
RTFAttributes.NumericAttribute.NewTwips(int d,
Object s,
String r,
int dr) |
(package private) static int[] |
RTFGenerator.outputConversionForName(String name) |
void |
RTFReader.setCharacterSet(String name)
setCharacterSet sets the current translation table to correspond with
the named character set.
|
private void |
RTFReader.setTargetAttribute(String name,
Object value) |
protected void |
RTFParser.warning(String s) |
void |
RTFParser.write(String s) |
void |
AbstractFilter.write(String s)
Hopefully, all subclasses will override this method to accept strings
of text, but if they don't, AbstractFilter's implementation
will spoon-feed them via
write(char). |
void |
RTFGenerator.writeControlWord(String keyword) |
void |
RTFGenerator.writeControlWord(String keyword,
int arg) |
void |
RTFGenerator.writeRawString(String str) |
void |
RTFGenerator.writeText(String s) |
| Constructor and Description |
|---|
RTFAttributes.AssertiveAttribute(int d,
Object s,
String r) |
RTFAttributes.AssertiveAttribute(int d,
Object s,
String r,
int v) |
RTFAttributes.AssertiveAttribute(int d,
Object s,
String r,
Object v) |
RTFAttributes.BooleanAttribute(int d,
Object s,
String r) |
RTFAttributes.BooleanAttribute(int d,
Object s,
String r,
boolean ds,
boolean dr) |
RTFAttributes.GenericAttribute(int d,
Object s,
String r) |
RTFAttributes.NumericAttribute(int d,
Object s,
String r) |
RTFAttributes.NumericAttribute(int d,
Object s,
String r,
int ds,
int dr) |
RTFAttributes.NumericAttribute(int d,
Object s,
String r,
Number ds,
int dr,
float sc) |
| Modifier and Type | Field and Description |
|---|---|
static String |
DefaultTreeSelectionModel.SELECTION_MODE_PROPERTY
Property name for selectionMode.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TreePath.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
DefaultTreeSelectionModel.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
DefaultMutableTreeNode.toString()
Returns the result of sending
toString() to this node's
user object, or the empty string if the node has no user object. |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Overridden for performance reasons.
|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
byte oldValue,
byte newValue)
Overridden for performance reasons.
|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
char oldValue,
char newValue)
Overridden for performance reasons.
|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
double oldValue,
double newValue)
Overridden for performance reasons.
|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
float oldValue,
float newValue)
Overridden for performance reasons.
|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Overridden for performance reasons.
|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
long oldValue,
long newValue)
Overridden for performance reasons.
|
protected void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Overridden for performance reasons.
|
void |
DefaultTreeCellRenderer.firePropertyChange(String propertyName,
short oldValue,
short newValue)
Overridden for performance reasons.
|
| Constructor and Description |
|---|
ExpandVetoException(TreeExpansionEvent event,
String message)
Constructs an ExpandVetoException object with the specified message.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
StateEditable.RCSID
Resource ID for this class.
|
protected static String |
StateEdit.RCSID |
protected static String |
AbstractUndoableEdit.RedoName
String returned by
getRedoPresentationName;
as of Java 2 platform v1.3.1 this field is no longer used. |
protected static String |
AbstractUndoableEdit.UndoName
String returned by
getUndoPresentationName;
as of Java 2 platform v1.3.1 this field is no longer used. |
protected String |
StateEdit.undoRedoName
The undo/redo presentation name
|
| Modifier and Type | Method and Description |
|---|---|
String |
UndoableEdit.getPresentationName()
Returns a localized, human-readable description of this edit, suitable
for use in a change log, for example.
|
String |
StateEdit.getPresentationName()
Gets the presentation name for this edit
|
String |
CompoundEdit.getPresentationName()
Returns
getPresentationName from the
last UndoableEdit added to
edits. |
String |
AbstractUndoableEdit.getPresentationName()
This default implementation returns "".
|
String |
UndoableEdit.getRedoPresentationName()
Returns a localized, human-readable description of the redoable form of
this edit, suitable for use as a Redo menu item, for example.
|
String |
UndoManager.getRedoPresentationName()
Returns a description of the redoable form of this edit.
|
String |
CompoundEdit.getRedoPresentationName()
Returns
getRedoPresentationName
from the last UndoableEdit
added to edits. |
String |
AbstractUndoableEdit.getRedoPresentationName()
Retreives the value from the defaults table with key
AbstractUndoableEdit.redoText and returns
that value followed by a space, followed by
getPresentationName. |
String |
UndoManager.getUndoOrRedoPresentationName()
Convenience method that returns either
getUndoPresentationName or
getRedoPresentationName. |
String |
UndoableEdit.getUndoPresentationName()
Returns a localized, human-readable description of the undoable form of
this edit, suitable for use as an Undo menu item, for example.
|
String |
UndoManager.getUndoPresentationName()
Returns a description of the undoable form of this edit.
|
String |
CompoundEdit.getUndoPresentationName()
Returns
getUndoPresentationName
from the last UndoableEdit
added to edits. |
String |
AbstractUndoableEdit.getUndoPresentationName()
Retreives the value from the defaults table with key
AbstractUndoableEdit.undoText and returns
that value followed by a space, followed by
getPresentationName. |
String |
UndoableEditSupport.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
UndoManager.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
CompoundEdit.toString()
Returns a string that displays and identifies this
object's properties.
|
String |
AbstractUndoableEdit.toString()
Returns a string that displays and identifies this
object's properties.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StateEdit.init(StateEditable anObject,
String name) |
| Constructor and Description |
|---|
StateEdit(StateEditable anObject,
String name)
Create and return a new StateEdit with a presentation name.
|
| Modifier and Type | Field and Description |
|---|---|
private static String |
ToolProvider.defaultJavaCompilerName |
private static String[] |
ToolProvider.defaultToolsLocation |
String |
JavaFileObject.Kind.extension
The extension which (by convention) is normally used for
this kind of file object.
|
private static String |
ToolProvider.loggerName |
private static String |
ToolProvider.propertyName |
| Modifier and Type | Field and Description |
|---|---|
private static ConcurrentMap<String,JavaFileManager.Location> |
StandardLocation.locations |
private Map<String,Reference<Class<?>>> |
ToolProvider.toolClasses |
| Modifier and Type | Method and Description |
|---|---|
String |
Diagnostic.getCode()
Gets a diagnostic code indicating the type of diagnostic.
|
String |
Diagnostic.getMessage(Locale locale)
Gets a localized message for the given locale.
|
String |
StandardLocation.getName() |
String |
SimpleJavaFileObject.getName() |
String |
JavaFileManager.Location.getName()
Gets the name of this location.
|
String |
ForwardingFileObject.getName() |
String |
FileObject.getName()
Gets a user-friendly name for this file object.
|
String |
JavaFileManager.inferBinaryName(JavaFileManager.Location location,
JavaFileObject file)
Infers a binary name of a file object based on a location.
|
String |
ForwardingJavaFileManager.inferBinaryName(JavaFileManager.Location location,
JavaFileObject file) |
String |
SimpleJavaFileObject.toString() |
| Modifier and Type | Method and Description |
|---|---|
private Class<?> |
ToolProvider.findSystemToolClass(String toolClassName) |
FileObject |
JavaFileManager.getFileForInput(JavaFileManager.Location location,
String packageName,
String relativeName)
Gets a file object for input
representing the specified relative
name in the specified package in the given location.
|
FileObject |
ForwardingJavaFileManager.getFileForInput(JavaFileManager.Location location,
String packageName,
String relativeName) |
FileObject |
JavaFileManager.getFileForOutput(JavaFileManager.Location location,
String packageName,
String relativeName,
FileObject sibling)
Gets a file object for output
representing the specified relative
name in the specified package in the given location.
|
FileObject |
ForwardingJavaFileManager.getFileForOutput(JavaFileManager.Location location,
String packageName,
String relativeName,
FileObject sibling) |
JavaFileObject |
JavaFileManager.getJavaFileForInput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind)
Gets a file object for input
representing the specified class of the specified kind in the
given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForInput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind) |
JavaFileObject |
JavaFileManager.getJavaFileForOutput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling)
Gets a file object for output
representing the specified class of the specified kind in the
given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForOutput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling) |
Iterable<? extends JavaFileObject> |
StandardJavaFileManager.getJavaFileObjects(String... names)
Gets file objects representing the given file names.
|
private <T> T |
ToolProvider.getSystemTool(Class<T> clazz,
String name) |
private <T> Class<? extends T> |
ToolProvider.getSystemToolClass(Class<T> clazz,
String name) |
boolean |
JavaFileManager.handleOption(String current,
Iterator<String> remaining)
Handles one option.
|
boolean |
ForwardingJavaFileManager.handleOption(String current,
Iterator<String> remaining) |
boolean |
SimpleJavaFileObject.isNameCompatible(String simpleName,
JavaFileObject.Kind kind)
This implementation compares the path of its URI to the given
simple name.
|
boolean |
JavaFileObject.isNameCompatible(String simpleName,
JavaFileObject.Kind kind)
Checks if this file object is compatible with the specified
simple name and kind.
|
boolean |
ForwardingJavaFileObject.isNameCompatible(String simpleName,
JavaFileObject.Kind kind) |
int |
OptionChecker.isSupportedOption(String option)
Determines if the given option is supported and if so, the
number of arguments the option takes.
|
int |
ForwardingJavaFileManager.isSupportedOption(String option) |
Iterable<JavaFileObject> |
JavaFileManager.list(JavaFileManager.Location location,
String packageName,
Set<JavaFileObject.Kind> kinds,
boolean recurse)
Lists all file objects matching the given criteria in the given
location.
|
Iterable<JavaFileObject> |
ForwardingJavaFileManager.list(JavaFileManager.Location location,
String packageName,
Set<JavaFileObject.Kind> kinds,
boolean recurse) |
static JavaFileManager.Location |
StandardLocation.locationFor(String name)
Gets a location object with the given name.
|
int |
Tool.run(InputStream in,
OutputStream out,
OutputStream err,
String... arguments)
Run the tool with the given I/O channels and arguments.
|
static StandardLocation |
StandardLocation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaFileObject.Kind |
JavaFileObject.Kind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Diagnostic.Kind |
Diagnostic.Kind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends JavaFileObject> |
StandardJavaFileManager.getJavaFileObjectsFromStrings(Iterable<String> names)
Gets file objects representing the given file names.
|
JavaCompiler.CompilationTask |
JavaCompiler.getTask(Writer out,
JavaFileManager fileManager,
DiagnosticListener<? super JavaFileObject> diagnosticListener,
Iterable<String> options,
Iterable<String> classes,
Iterable<? extends JavaFileObject> compilationUnits)
Creates a future for a compilation task with the given
components and arguments.
|
JavaCompiler.CompilationTask |
JavaCompiler.getTask(Writer out,
JavaFileManager fileManager,
DiagnosticListener<? super JavaFileObject> diagnosticListener,
Iterable<String> options,
Iterable<String> classes,
Iterable<? extends JavaFileObject> compilationUnits)
Creates a future for a compilation task with the given
components and arguments.
|
boolean |
JavaFileManager.handleOption(String current,
Iterator<String> remaining)
Handles one option.
|
boolean |
ForwardingJavaFileManager.handleOption(String current,
Iterator<String> remaining) |
| Constructor and Description |
|---|
JavaFileObject.Kind(String extension) |
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLConstants.ACCESS_EXTERNAL_DTD
Property: accessExternalDTD
|
static String |
XMLConstants.ACCESS_EXTERNAL_SCHEMA
Property: accessExternalSchema
|
static String |
XMLConstants.ACCESS_EXTERNAL_STYLESHEET
Property: accessExternalStylesheet
|
static String |
XMLConstants.DEFAULT_NS_PREFIX
Prefix to use to represent the default XML Namespace.
|
static String |
XMLConstants.FEATURE_SECURE_PROCESSING
Feature for secure processing.
|
static String |
XMLConstants.NULL_NS_URI
Namespace URI to use to represent that there is no Namespace.
|
static String |
XMLConstants.RELAXNG_NS_URI
RELAX NG Namespace URI.
|
static String |
XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI
W3C XML Schema Instance Namespace URI.
|
static String |
XMLConstants.W3C_XML_SCHEMA_NS_URI
W3C XML Schema Namespace URI.
|
static String |
XMLConstants.W3C_XPATH_DATATYPE_NS_URI
W3C XPath Datatype Namespace URI.
|
static String |
XMLConstants.XML_DTD_NS_URI
XML Document Type Declaration Namespace URI as an arbitrary value.
|
static String |
XMLConstants.XML_NS_PREFIX
The official XML Namespace prefix.
|
static String |
XMLConstants.XML_NS_URI
The official XML Namespace name URI.
|
static String |
XMLConstants.XMLNS_ATTRIBUTE
The official XML attribute used for specifying XML Namespace
declarations.
|
static String |
XMLConstants.XMLNS_ATTRIBUTE_NS_URI
The official XML attribute used for specifying XML Namespace
declarations,
XMLConstants.XMLNS_ATTRIBUTE, Namespace name URI. |
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
Messages.CANT_FIND_PROPERTIES_FILE |
(package private) static String |
Messages.CANT_MIX_PROVIDERS |
(package private) static String |
Messages.CONVERTER_MUST_NOT_BE_NULL |
(package private) static String |
Messages.COULD_NOT_INSTANTIATE |
private String |
TypeConstraintException.errorCode
Vendor specific error code
|
private String |
JAXBException.errorCode
Vendor specific error code
|
(package private) static String |
Messages.FAILED_TO_INITIALE_DATATYPE_FACTORY |
(package private) static String |
Messages.ILLEGAL_CAST |
static String |
JAXBContext.JAXB_CONTEXT_FACTORY
The name of the property that contains the name of the class capable
of creating new JAXBContext objects.
|
static String |
Marshaller.JAXB_ENCODING
The name of the property used to specify the output encoding in
the marshalled XML data.
|
static String |
Marshaller.JAXB_FORMATTED_OUTPUT
The name of the property used to specify whether or not the marshalled
XML data is formatted with linefeeds and indentation.
|
static String |
Marshaller.JAXB_FRAGMENT
The name of the property used to specify whether or not the marshaller
will generate document level events (ie calling startDocument or endDocument).
|
static String |
Marshaller.JAXB_NO_NAMESPACE_SCHEMA_LOCATION
The name of the property used to specify the
xsi:noNamespaceSchemaLocation attribute value to place in the marshalled
XML output.
|
static String |
Marshaller.JAXB_SCHEMA_LOCATION
The name of the property used to specify the xsi:schemaLocation
attribute value to place in the marshalled XML output.
|
(package private) static String |
Messages.MISSING_PROPERTY |
(package private) static String |
Messages.NAME_VALUE |
(package private) static String |
Messages.NO_PACKAGE_IN_CONTEXTPATH |
private static String |
ContextFinder.PLATFORM_DEFAULT_FACTORY_CLASS
When JAXB is in J2SE, rt.jar has to have a JAXB implementation.
|
private String |
GetPropertyAction.propertyName |
(package private) static String |
Messages.PROVIDER_NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
static String |
DatatypeConverterImpl._printBase64Binary(byte[] input) |
static String |
DatatypeConverterImpl._printBase64Binary(byte[] input,
int offset,
int len) |
static String |
DatatypeConverterImpl._printBoolean(boolean val) |
static String |
DatatypeConverterImpl._printByte(byte val) |
static String |
DatatypeConverterImpl._printDate(Calendar val) |
static String |
DatatypeConverterImpl._printDateTime(Calendar val) |
static String |
DatatypeConverterImpl._printDecimal(BigDecimal val) |
static String |
DatatypeConverterImpl._printDouble(double v) |
static String |
DatatypeConverterImpl._printFloat(float v) |
static String |
DatatypeConverterImpl._printInt(int val) |
static String |
DatatypeConverterImpl._printInteger(BigInteger val) |
static String |
DatatypeConverterImpl._printLong(long val) |
static String |
DatatypeConverterImpl._printQName(QName val,
NamespaceContext nsc) |
static String |
DatatypeConverterImpl._printShort(short val) |
static String |
WhiteSpaceProcessor.collapse(String text) |
static String |
DatatypeConverterImpl.CalendarFormatter.doFormat(String format,
Calendar cal) |
(package private) static String |
Messages.format(String property) |
(package private) static String |
Messages.format(String property,
Object arg1) |
(package private) static String |
Messages.format(String property,
Object[] args)
Loads a string resource and formats it with specified arguments.
|
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2) |
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2,
Object arg3) |
String |
TypeConstraintException.getErrorCode()
Get the vendor specific error code
|
String |
JAXBException.getErrorCode()
Get the vendor specific error code
|
String |
ValidationEvent.getMessage()
Retrieve the text message for this warning/error.
|
private static String |
JAXB.inferName(Class clazz) |
static String |
DatatypeConverterImpl.installHook(String s)
Just return the string passed as a parameter but
installs an instance of this class as the DatatypeConverter
implementation.
|
String |
DatatypeConverterInterface.parseAnySimpleType(String lexicalXSDAnySimpleType)
Return a string containing the lexical representation of the
simple type.
|
String |
DatatypeConverterImpl.parseAnySimpleType(String lexicalXSDAnySimpleType) |
static String |
DatatypeConverter.parseAnySimpleType(String lexicalXSDAnySimpleType)
Return a string containing the lexical representation of the
simple type.
|
String |
DatatypeConverterInterface.parseString(String lexicalXSDString)
Convert the string argument into a string.
|
String |
DatatypeConverterImpl.parseString(String lexicalXSDString) |
static String |
DatatypeConverter.parseString(String lexicalXSDString)
Convert the lexical XSD string argument into a String value.
|
String |
DatatypeConverterInterface.printAnySimpleType(String val)
Converts a string value into a string.
|
String |
DatatypeConverterImpl.printAnySimpleType(String val) |
static String |
DatatypeConverter.printAnySimpleType(String val)
Converts a string value into a string.
|
String |
DatatypeConverterInterface.printBase64Binary(byte[] val)
Converts an array of bytes into a string.
|
String |
DatatypeConverterImpl.printBase64Binary(byte[] val) |
static String |
DatatypeConverter.printBase64Binary(byte[] val)
Converts an array of bytes into a string.
|
String |
DatatypeConverterInterface.printBoolean(boolean val)
Converts a boolean value into a string.
|
String |
DatatypeConverterImpl.printBoolean(boolean val) |
static String |
DatatypeConverter.printBoolean(boolean val)
Converts a boolean value into a string.
|
String |
DatatypeConverterInterface.printByte(byte val)
Converts a byte value into a string.
|
String |
DatatypeConverterImpl.printByte(byte val) |
static String |
DatatypeConverter.printByte(byte val)
Converts a byte value into a string.
|
String |
DatatypeConverterInterface.printDate(Calendar val)
Converts a Calendar value into a string.
|
String |
DatatypeConverterImpl.printDate(Calendar val) |
static String |
DatatypeConverter.printDate(Calendar val)
Converts a Calendar value into a string.
|
String |
DatatypeConverterInterface.printDateTime(Calendar val)
Converts a Calendar value into a string.
|
String |
DatatypeConverterImpl.printDateTime(Calendar val) |
static String |
DatatypeConverter.printDateTime(Calendar val)
Converts a Calendar value into a string.
|
String |
DatatypeConverterInterface.printDecimal(BigDecimal val)
Converts a BigDecimal value into a string.
|
String |
DatatypeConverterImpl.printDecimal(BigDecimal val) |
static String |
DatatypeConverter.printDecimal(BigDecimal val)
Converts a BigDecimal value into a string.
|
String |
DatatypeConverterInterface.printDouble(double val)
Converts a double value into a string.
|
String |
DatatypeConverterImpl.printDouble(double v) |
static String |
DatatypeConverter.printDouble(double val)
Converts a double value into a string.
|
String |
DatatypeConverterInterface.printFloat(float val)
Converts a float value into a string.
|
String |
DatatypeConverterImpl.printFloat(float v) |
static String |
DatatypeConverter.printFloat(float val)
Converts a float value into a string.
|
String |
DatatypeConverterInterface.printHexBinary(byte[] val)
Converts an array of bytes into a string.
|
String |
DatatypeConverterImpl.printHexBinary(byte[] data) |
static String |
DatatypeConverter.printHexBinary(byte[] val)
Converts an array of bytes into a string.
|
String |
DatatypeConverterInterface.printInt(int val)
Converts an int value into a string.
|
String |
DatatypeConverterImpl.printInt(int val) |
static String |
DatatypeConverter.printInt(int val)
Converts an int value into a string.
|
String |
DatatypeConverterInterface.printInteger(BigInteger val)
Converts a BigInteger value into a string.
|
String |
DatatypeConverterImpl.printInteger(BigInteger val) |
static String |
DatatypeConverter.printInteger(BigInteger val)
Converts a BigInteger value into a string.
|
String |
DatatypeConverterInterface.printLong(long val)
Converts a long value into a string.
|
String |
DatatypeConverterImpl.printLong(long val) |
static String |
DatatypeConverter.printLong(long val)
Converts A long value into a string.
|
String |
DatatypeConverterInterface.printQName(QName val,
NamespaceContext nsc)
Converts a QName instance into a string.
|
String |
DatatypeConverterImpl.printQName(QName val,
NamespaceContext nsc) |
static String |
DatatypeConverter.printQName(QName val,
NamespaceContext nsc)
Converts a QName instance into a string.
|
String |
DatatypeConverterInterface.printShort(short val)
Converts a short value into a string.
|
String |
DatatypeConverterImpl.printShort(short val) |
static String |
DatatypeConverter.printShort(short val)
Converts a short value into a string.
|
String |
DatatypeConverterInterface.printString(String val)
Converts the string argument into a string.
|
String |
DatatypeConverterImpl.printString(String val) |
static String |
DatatypeConverter.printString(String val)
Converts the string argument into a string.
|
String |
DatatypeConverterInterface.printTime(Calendar val)
Converts a Calendar value into a string.
|
String |
DatatypeConverterImpl.printTime(Calendar val) |
static String |
DatatypeConverter.printTime(Calendar val)
Converts a Calendar value into a string.
|
String |
DatatypeConverterInterface.printUnsignedInt(long val)
Converts a long value into a string.
|
String |
DatatypeConverterImpl.printUnsignedInt(long val) |
static String |
DatatypeConverter.printUnsignedInt(long val)
Converts a long value into a string.
|
String |
DatatypeConverterInterface.printUnsignedShort(int val)
Converts an int value into a string.
|
String |
DatatypeConverterImpl.printUnsignedShort(int val) |
static String |
DatatypeConverter.printUnsignedShort(int val)
Converts an int value into a string.
|
static String |
WhiteSpaceProcessor.replace(String text) |
String |
GetPropertyAction.run() |
String |
TypeConstraintException.toString()
Returns a short description of this TypeConstraintException.
|
String |
JAXBException.toString()
Returns a short description of this JAXBException.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
DatatypeConverterImpl._parseBase64Binary(String text) |
static String |
WhiteSpaceProcessor.collapse(String text) |
abstract Result |
SchemaOutputResolver.createOutput(String namespaceUri,
String suggestedFileName)
Decides where the schema file (of the given namespace URI)
will be written, and return it as a
Result object. |
static String |
DatatypeConverterImpl.CalendarFormatter.doFormat(String format,
Calendar cal) |
(package private) static JAXBContext |
ContextFinder.find(String factoryId,
String contextPath,
ClassLoader classLoader,
Map properties) |
(package private) static String |
Messages.format(String property) |
(package private) static String |
Messages.format(String property,
Object arg1) |
(package private) static String |
Messages.format(String property,
Object[] args)
Loads a string resource and formats it with specified arguments.
|
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2) |
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2,
Object arg3) |
Object |
Validator.getProperty(String name)
Deprecated.
since JAXB2.0
|
Object |
Unmarshaller.getProperty(String name)
Get the particular property in the underlying implementation of
Unmarshaller.
|
Object |
Marshaller.getProperty(String name)
Get the particular property in the underlying implementation of
Marshaller.
|
abstract Object |
Binder.getProperty(String name)
Get the particular property in the underlying implementation of
Binder.
|
private static int |
DatatypeConverterImpl.guessLength(String text)
computes the length of binary data speculatively.
|
static String |
DatatypeConverterImpl.installHook(String s)
Just return the string passed as a parameter but
installs an instance of this class as the DatatypeConverter
implementation.
|
private static Properties |
ContextFinder.loadJAXBProperties(ClassLoader classLoader,
String propFileName) |
private static Class |
ContextFinder.lookupUsingOSGiServiceLoader(String factoryId) |
static void |
JAXB.marshal(Object jaxbObject,
String xml)
Writes a Java object tree to XML and store it to the specified location.
|
(package private) static JAXBContext |
ContextFinder.newInstance(Class[] classes,
Map properties,
String className)
Create an instance of a class using the thread context ClassLoader
|
static JAXBContext |
JAXBContext.newInstance(String contextPath)
Obtain a new instance of a JAXBContext class.
|
(package private) static JAXBContext |
ContextFinder.newInstance(String contextPath,
Class spFactory,
ClassLoader classLoader,
Map properties) |
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader)
Obtain a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties)
Obtain a new instance of a JAXBContext class.
|
(package private) static JAXBContext |
ContextFinder.newInstance(String contextPath,
String className,
ClassLoader classLoader,
Map properties)
Create an instance of a class using the specified ClassLoader
|
String |
DatatypeConverterInterface.parseAnySimpleType(String lexicalXSDAnySimpleType)
Return a string containing the lexical representation of the
simple type.
|
String |
DatatypeConverterImpl.parseAnySimpleType(String lexicalXSDAnySimpleType) |
static String |
DatatypeConverter.parseAnySimpleType(String lexicalXSDAnySimpleType)
Return a string containing the lexical representation of the
simple type.
|
byte[] |
DatatypeConverterInterface.parseBase64Binary(String lexicalXSDBase64Binary)
Converts the string argument into an array of bytes.
|
byte[] |
DatatypeConverterImpl.parseBase64Binary(String lexicalXSDBase64Binary) |
static byte[] |
DatatypeConverter.parseBase64Binary(String lexicalXSDBase64Binary)
Converts the string argument into an array of bytes.
|
boolean |
DatatypeConverterInterface.parseBoolean(String lexicalXSDBoolean)
Converts the string argument into a boolean value.
|
boolean |
DatatypeConverterImpl.parseBoolean(String lexicalXSDBoolean) |
static boolean |
DatatypeConverter.parseBoolean(String lexicalXSDBoolean)
Converts the string argument into a boolean value.
|
byte |
DatatypeConverterInterface.parseByte(String lexicalXSDByte)
Converts the string argument into a byte value.
|
byte |
DatatypeConverterImpl.parseByte(String lexicalXSDByte) |
static byte |
DatatypeConverter.parseByte(String lexicalXSDByte)
Converts the string argument into a byte value.
|
Calendar |
DatatypeConverterInterface.parseDate(String lexicalXSDDate)
Converts the string argument into a Calendar value.
|
Calendar |
DatatypeConverterImpl.parseDate(String lexicalXSDDate) |
static Calendar |
DatatypeConverter.parseDate(String lexicalXSDDate)
Converts the string argument into a Calendar value.
|
Calendar |
DatatypeConverterInterface.parseDateTime(String lexicalXSDDateTime)
Converts the string argument into a Calendar value.
|
Calendar |
DatatypeConverterImpl.parseDateTime(String lexicalXSDDateTime) |
static Calendar |
DatatypeConverter.parseDateTime(String lexicalXSDDateTime)
Converts the string argument into a Calendar value.
|
BigDecimal |
DatatypeConverterInterface.parseDecimal(String lexicalXSDDecimal)
Converts the string argument into a BigDecimal value.
|
BigDecimal |
DatatypeConverterImpl.parseDecimal(String content) |
static BigDecimal |
DatatypeConverter.parseDecimal(String lexicalXSDDecimal)
Converts the string argument into a BigDecimal value.
|
double |
DatatypeConverterInterface.parseDouble(String lexicalXSDDouble)
Converts the string argument into a double value.
|
double |
DatatypeConverterImpl.parseDouble(String lexicalXSDDouble) |
static double |
DatatypeConverter.parseDouble(String lexicalXSDDouble)
Converts the string argument into a double value.
|
float |
DatatypeConverterInterface.parseFloat(String lexicalXSDFloat)
Converts the string argument into a float value.
|
float |
DatatypeConverterImpl.parseFloat(String lexicalXSDFloat) |
static float |
DatatypeConverter.parseFloat(String lexicalXSDFloat)
Converts the string argument into a float value.
|
byte[] |
DatatypeConverterInterface.parseHexBinary(String lexicalXSDHexBinary)
Converts the string argument into an array of bytes.
|
byte[] |
DatatypeConverterImpl.parseHexBinary(String s) |
static byte[] |
DatatypeConverter.parseHexBinary(String lexicalXSDHexBinary)
Converts the string argument into an array of bytes.
|
int |
DatatypeConverterInterface.parseInt(String lexicalXSDInt)
Convert the string argument into an int value.
|
int |
DatatypeConverterImpl.parseInt(String s) |
static int |
DatatypeConverter.parseInt(String lexicalXSDInt)
Convert the string argument into an int value.
|
BigInteger |
DatatypeConverterInterface.parseInteger(String lexicalXSDInteger)
Convert the string argument into a BigInteger value.
|
BigInteger |
DatatypeConverterImpl.parseInteger(String lexicalXSDInteger) |
static BigInteger |
DatatypeConverter.parseInteger(String lexicalXSDInteger)
Convert the string argument into a BigInteger value.
|
long |
DatatypeConverterInterface.parseLong(String lexicalXSDLong)
Converts the string argument into a long value.
|
long |
DatatypeConverterImpl.parseLong(String lexicalXSLong) |
static long |
DatatypeConverter.parseLong(String lexicalXSDLong)
Converts the string argument into a long value.
|
QName |
DatatypeConverterInterface.parseQName(String lexicalXSDQName,
NamespaceContext nsc)
Converts the string argument into a QName value.
|
QName |
DatatypeConverterImpl.parseQName(String lexicalXSDQName,
NamespaceContext nsc) |
static QName |
DatatypeConverter.parseQName(String lexicalXSDQName,
NamespaceContext nsc)
Converts the string argument into a byte value.
|
short |
DatatypeConverterInterface.parseShort(String lexicalXSDShort)
Converts the string argument into a short value.
|
short |
DatatypeConverterImpl.parseShort(String lexicalXSDShort) |
static short |
DatatypeConverter.parseShort(String lexicalXSDShort)
Converts the string argument into a short value.
|
String |
DatatypeConverterInterface.parseString(String lexicalXSDString)
Convert the string argument into a string.
|
String |
DatatypeConverterImpl.parseString(String lexicalXSDString) |
static String |
DatatypeConverter.parseString(String lexicalXSDString)
Convert the lexical XSD string argument into a String value.
|
Calendar |
DatatypeConverterInterface.parseTime(String lexicalXSDTime)
Converts the string argument into a Calendar value.
|
Calendar |
DatatypeConverterImpl.parseTime(String lexicalXSDTime) |
static Calendar |
DatatypeConverter.parseTime(String lexicalXSDTime)
Converts the string argument into a Calendar value.
|
long |
DatatypeConverterInterface.parseUnsignedInt(String lexicalXSDUnsignedInt)
Converts the string argument into a long value.
|
long |
DatatypeConverterImpl.parseUnsignedInt(String lexicalXSDUnsignedInt) |
static long |
DatatypeConverter.parseUnsignedInt(String lexicalXSDUnsignedInt)
Converts the string argument into a long value.
|
int |
DatatypeConverterInterface.parseUnsignedShort(String lexicalXSDUnsignedShort)
Converts the string argument into an int value.
|
int |
DatatypeConverterImpl.parseUnsignedShort(String lexicalXSDUnsignedShort) |
static int |
DatatypeConverter.parseUnsignedShort(String lexicalXSDUnsignedShort)
Converts the string argument into an int value.
|
String |
DatatypeConverterInterface.printAnySimpleType(String val)
Converts a string value into a string.
|
String |
DatatypeConverterImpl.printAnySimpleType(String val) |
static String |
DatatypeConverter.printAnySimpleType(String val)
Converts a string value into a string.
|
String |
DatatypeConverterInterface.printString(String val)
Converts the string argument into a string.
|
String |
DatatypeConverterImpl.printString(String val) |
static String |
DatatypeConverter.printString(String val)
Converts the string argument into a string.
|
static String |
WhiteSpaceProcessor.replace(String text) |
private static Class |
ContextFinder.safeLoadClass(String className,
ClassLoader classLoader)
Loads the class, provided that the calling thread has an access to the class being loaded.
|
void |
Validator.setProperty(String name,
Object value)
Deprecated.
since JAXB2.0
|
void |
Unmarshaller.setProperty(String name,
Object value)
Set the particular property in the underlying implementation of
Unmarshaller.
|
void |
Marshaller.setProperty(String name,
Object value)
Set the particular property in the underlying implementation of
Marshaller.
|
abstract void |
Binder.setProperty(String name,
Object value)
Set the particular property in the underlying implementation of
Binder.
|
static <T> T |
JAXB.unmarshal(String xml,
Class<T> type)
Reads in a Java object tree from the given XML input.
|
| Modifier and Type | Method and Description |
|---|---|
static JAXBContext |
JAXBContext.newInstance(Class[] classesToBeBound,
Map<String,?> properties)
Obtain a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties)
Obtain a new instance of a JAXBContext class.
|
| Constructor and Description |
|---|
DataBindingException(String message,
Throwable cause) |
GetPropertyAction(String propertyName) |
JAXBException(String message)
Construct a JAXBException with the specified detail message.
|
JAXBException(String message,
String errorCode)
Construct a JAXBException with the specified detail message and vendor
specific errorCode.
|
JAXBException(String message,
String errorCode,
Throwable exception)
Construct a JAXBException with the specified detail message, vendor
specific errorCode, and linkedException.
|
JAXBException(String message,
Throwable exception)
Construct a JAXBException with the specified detail message and
linkedException.
|
JAXBPermission(String name)
Creates a new JAXBPermission with the specified name.
|
MarshalException(String message)
Construct a MarshalException with the specified detail message.
|
MarshalException(String message,
String errorCode)
Construct a MarshalException with the specified detail message and vendor
specific errorCode.
|
MarshalException(String message,
String errorCode,
Throwable exception)
Construct a MarshalException with the specified detail message, vendor
specific errorCode, and linkedException.
|
MarshalException(String message,
Throwable exception)
Construct a MarshalException with the specified detail message and
linkedException.
|
PropertyException(String message)
Construct a PropertyException with the specified detail message.
|
PropertyException(String name,
Object value)
Construct a PropertyException whose message field is set based on the
name of the property and value.toString().
|
PropertyException(String message,
String errorCode)
Construct a PropertyException with the specified detail message and
vendor specific errorCode.
|
PropertyException(String message,
String errorCode,
Throwable exception)
Construct a PropertyException with the specified detail message, vendor
specific errorCode, and linkedException.
|
PropertyException(String message,
Throwable exception)
Construct a PropertyException with the specified detail message and
linkedException.
|
TypeConstraintException(String message)
Construct a TypeConstraintException with the specified detail message.
|
TypeConstraintException(String message,
String errorCode)
Construct a TypeConstraintException with the specified detail message and vendor
specific errorCode.
|
TypeConstraintException(String message,
String errorCode,
Throwable exception)
Construct a TypeConstraintException with the specified detail message,
vendor specific errorCode, and linkedException.
|
TypeConstraintException(String message,
Throwable exception)
Construct a TypeConstraintException with the specified detail message and
linkedException.
|
UnmarshalException(String message)
Construct an UnmarshalException with the specified detail message.
|
UnmarshalException(String message,
String errorCode)
Construct an UnmarshalException with the specified detail message and vendor
specific errorCode.
|
UnmarshalException(String message,
String errorCode,
Throwable exception)
Construct an UnmarshalException with the specified detail message, vendor
specific errorCode, and linkedException.
|
UnmarshalException(String message,
Throwable exception)
Construct an UnmarshalException with the specified detail message and
linkedException.
|
ValidationException(String message)
Construct an ValidationException with the specified detail message.
|
ValidationException(String message,
String errorCode)
Construct an ValidationException with the specified detail message and vendor
specific errorCode.
|
ValidationException(String message,
String errorCode,
Throwable exception)
Construct an ValidationException with the specified detail message, vendor
specific errorCode, and linkedException.
|
ValidationException(String message,
Throwable exception)
Construct an ValidationException with the specified detail message and
linkedException.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
XmlSchema.NO_LOCATION
The default value of the
XmlSchema.location() attribute,
which indicates that the schema generator will generate
components in this namespace. |
| Modifier and Type | Method and Description |
|---|---|
static XmlNsForm |
XmlNsForm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlAccessType |
XmlAccessType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlAccessOrder |
XmlAccessOrder.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
HexBinaryAdapter.marshal(byte[] bytes) |
String |
NormalizedStringAdapter.marshal(String s)
No-op.
|
String |
CollapsedStringAdapter.marshal(String s)
No-op.
|
String |
NormalizedStringAdapter.unmarshal(String text)
Replace any tab, CR, and LF by a whitespace character ' ',
as specified in the whitespace facet 'replace'
|
String |
CollapsedStringAdapter.unmarshal(String text)
Removes leading and trailing whitespaces of the string
given as the parameter, then truncate any
sequnce of tab, CR, LF, and SP by a single whitespace character ' '.
|
| Modifier and Type | Method and Description |
|---|---|
String |
NormalizedStringAdapter.marshal(String s)
No-op.
|
String |
CollapsedStringAdapter.marshal(String s)
No-op.
|
String |
NormalizedStringAdapter.unmarshal(String text)
Replace any tab, CR, and LF by a whitespace character ' ',
as specified in the whitespace facet 'replace'
|
byte[] |
HexBinaryAdapter.unmarshal(String s) |
String |
CollapsedStringAdapter.unmarshal(String text)
Removes leading and trailing whitespaces of the string
given as the parameter, then truncate any
sequnce of tab, CR, LF, and SP by a single whitespace character ' '.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
AttachmentMarshaller.addMtomAttachment(byte[] data,
int offset,
int length,
String mimeType,
String elementNamespace,
String elementLocalName)
Consider binary
data for optimized binary storage as an attachment. |
abstract String |
AttachmentMarshaller.addMtomAttachment(DataHandler data,
String elementNamespace,
String elementLocalName)
Consider MIME content
data for optimized binary storage as an attachment. |
abstract String |
AttachmentMarshaller.addSwaRefAttachment(DataHandler data)
Add MIME
data as an attachment and return attachment's content-id, cid. |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
AttachmentMarshaller.addMtomAttachment(byte[] data,
int offset,
int length,
String mimeType,
String elementNamespace,
String elementLocalName)
Consider binary
data for optimized binary storage as an attachment. |
abstract String |
AttachmentMarshaller.addMtomAttachment(DataHandler data,
String elementNamespace,
String elementLocalName)
Consider MIME content
data for optimized binary storage as an attachment. |
abstract byte[] |
AttachmentUnmarshaller.getAttachmentAsByteArray(String cid)
Retrieve the attachment identified by content-id,
cid, as a byte[] |
abstract DataHandler |
AttachmentUnmarshaller.getAttachmentAsDataHandler(String cid)
Lookup MIME content by content-id,
cid, and return as a DataHandler. |
| Modifier and Type | Field and Description |
|---|---|
(package private) static String[] |
AbstractMarshallerImpl.aliases |
private String |
AbstractMarshallerImpl.encoding
store the value of the encoding property.
|
(package private) static String |
Messages.ERROR |
(package private) static String |
Messages.FATAL_ERROR |
(package private) static String |
Messages.ILLEGAL_SEVERITY |
(package private) static String |
Messages.INPUTSTREAM_NOT_NULL |
(package private) static String |
Messages.LOCATION_UNAVAILABLE |
private String |
ValidationEventImpl.message |
(package private) static String |
Messages.MUST_BE_BOOLEAN |
(package private) static String |
Messages.MUST_BE_STRING |
(package private) static String |
Messages.MUST_NOT_BE_NULL |
private String |
AbstractMarshallerImpl.noNSSchemaLocation
store the value of the noNamespaceSchemaLocation property.
|
private String |
AbstractMarshallerImpl.schemaLocation
store the value of the schemaLocation property.
|
(package private) static String |
Messages.SEVERITY_MESSAGE |
(package private) static String |
Messages.UNRECOGNIZED_SEVERITY |
(package private) static String |
Messages.WARNING |
| Modifier and Type | Method and Description |
|---|---|
(package private) static String |
Messages.format(String property) |
(package private) static String |
Messages.format(String property,
Object arg1) |
(package private) static String |
Messages.format(String property,
Object[] args)
Loads a string resource and formats it with specified arguments.
|
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2) |
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2,
Object arg3) |
protected String |
AbstractMarshallerImpl.getEncoding()
Convenience method for getting the current output encoding.
|
protected String |
AbstractMarshallerImpl.getJavaEncoding(String encoding)
Gets the corresponding Java encoding name from an IANA name.
|
private String |
DefaultValidationEventHandler.getLocation(ValidationEvent event)
Calculate a location message for the event
|
String |
ValidationEventImpl.getMessage() |
protected String |
AbstractMarshallerImpl.getNoNSSchemaLocation()
Convenience method for getting the current noNamespaceSchemaLocation.
|
protected String |
AbstractMarshallerImpl.getSchemaLocation()
Convenience method for getting the current schemaLocation.
|
String |
ValidationEventLocatorImpl.toString()
Returns a string representation of this object in a format
helpful to debugging.
|
String |
ValidationEventImpl.toString()
Returns a string representation of this object in a format
helpful to debugging.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
AbstractMarshallerImpl.checkBoolean(String name,
Object value) |
private void |
AbstractMarshallerImpl.checkNotNull(Object o1,
String o1Name,
Object o2,
String o2Name) |
private void |
AbstractMarshallerImpl.checkString(String name,
Object value) |
(package private) static String |
Messages.format(String property) |
(package private) static String |
Messages.format(String property,
Object arg1) |
(package private) static String |
Messages.format(String property,
Object[] args)
Loads a string resource and formats it with specified arguments.
|
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2) |
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2,
Object arg3) |
protected String |
AbstractMarshallerImpl.getJavaEncoding(String encoding)
Gets the corresponding Java encoding name from an IANA name.
|
Object |
AbstractUnmarshallerImpl.getProperty(String name)
Default implementation of the getProperty method always
throws PropertyException since there are no required
properties.
|
Object |
AbstractMarshallerImpl.getProperty(String name)
Default implementation of the getProperty method handles
the four defined properties in Marshaller.
|
protected void |
AbstractMarshallerImpl.setEncoding(String encoding)
Convenience method for setting the output encoding.
|
void |
ValidationEventImpl.setMessage(String _message)
Set the message field of this event.
|
protected void |
AbstractMarshallerImpl.setNoNSSchemaLocation(String location)
Convenience method for setting the noNamespaceSchemaLocation.
|
void |
AbstractUnmarshallerImpl.setProperty(String name,
Object value)
Default implementation of the setProperty method always
throws PropertyException since there are no required
properties.
|
void |
AbstractMarshallerImpl.setProperty(String name,
Object value)
Default implementation of the setProperty method handles
the four defined properties in Marshaller.
|
protected void |
AbstractMarshallerImpl.setSchemaLocation(String location)
Convenience method for setting the schemaLocation.
|
private static URL |
ValidationEventLocatorImpl.toURL(String systemId)
Converts a system ID to an URL object.
|
private Object |
AbstractUnmarshallerImpl.unmarshal(String url) |
| Constructor and Description |
|---|
NotIdentifiableEventImpl(int _severity,
String _message,
ValidationEventLocator _locator)
Create a new NotIdentifiableEventImpl.
|
NotIdentifiableEventImpl(int _severity,
String _message,
ValidationEventLocator _locator,
Throwable _linkedException)
Create a new NotIdentifiableEventImpl.
|
ParseConversionEventImpl(int _severity,
String _message,
ValidationEventLocator _locator)
Create a new ParseConversionEventImpl.
|
ParseConversionEventImpl(int _severity,
String _message,
ValidationEventLocator _locator,
Throwable _linkedException)
Create a new ParseConversionEventImpl.
|
PrintConversionEventImpl(int _severity,
String _message,
ValidationEventLocator _locator)
Create a new PrintConversionEventImpl.
|
PrintConversionEventImpl(int _severity,
String _message,
ValidationEventLocator _locator,
Throwable _linkedException)
Create a new PrintConversionEventImpl.
|
ValidationEventImpl(int _severity,
String _message,
ValidationEventLocator _locator)
Create a new ValidationEventImpl.
|
ValidationEventImpl(int _severity,
String _message,
ValidationEventLocator _locator,
Throwable _linkedException)
Create a new ValidationEventImpl.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
Messages.RESULT_NULL_CONTEXT |
(package private) static String |
Messages.RESULT_NULL_UNMARSHALLER |
(package private) static String |
Messages.SOURCE_NULL_CONTENT |
(package private) static String |
Messages.SOURCE_NULL_CONTEXT |
(package private) static String |
Messages.SOURCE_NULL_MARSHALLER |
(package private) static String |
Messages.UNRECOGNIZED_SEVERITY |
| Modifier and Type | Method and Description |
|---|---|
(package private) static String |
Messages.format(String property) |
(package private) static String |
Messages.format(String property,
Object arg1) |
(package private) static String |
Messages.format(String property,
Object[] args)
Loads a string resource and formats it with specified arguments.
|
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2) |
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2,
Object arg3) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
ValidationEventCollector._assert(boolean b,
String msg) |
private static Marshaller |
JAXBSource.assertionFailed(String message)
Hook to throw exception from the middle of a contructor chained call
to this
|
(package private) static String |
Messages.format(String property) |
(package private) static String |
Messages.format(String property,
Object arg1) |
(package private) static String |
Messages.format(String property,
Object[] args)
Loads a string resource and formats it with specified arguments.
|
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2) |
(package private) static String |
Messages.format(String property,
Object arg1,
Object arg2,
Object arg3) |
| Modifier and Type | Field and Description |
|---|---|
private String |
OctetStreamData.mimeType |
private String |
KeySelector.Purpose.name |
private String |
OctetStreamData.uri |
| Modifier and Type | Method and Description |
|---|---|
String |
AlgorithmMethod.getAlgorithm()
Returns the algorithm URI of this
AlgorithmMethod. |
String |
XMLCryptoContext.getBaseURI()
Returns the base URI.
|
String |
XMLCryptoContext.getDefaultNamespacePrefix()
Returns the default namespace prefix.
|
String |
OctetStreamData.getMimeType()
Returns the MIME type associated with the data object represented by this
OctetStreamData. |
String |
XMLCryptoContext.getNamespacePrefix(String namespaceURI,
String defaultPrefix)
Returns the namespace prefix that the specified namespace URI is
associated with.
|
String |
URIReference.getType()
Returns the type of data referenced by this URI.
|
String |
URIReference.getURI()
Returns the URI of the referenced data object.
|
String |
OctetStreamData.getURI()
Returns the URI String identifying the data object represented by this
OctetStreamData. |
String |
XMLCryptoContext.putNamespacePrefix(String namespaceURI,
String prefix)
Maps the specified namespace URI to the specified prefix.
|
String |
KeySelector.Purpose.toString()
Returns a string representation of this purpose ("sign",
"verify", "encrypt", or "decrypt").
|
| Modifier and Type | Method and Description |
|---|---|
String |
XMLCryptoContext.getNamespacePrefix(String namespaceURI,
String defaultPrefix)
Returns the namespace prefix that the specified namespace URI is
associated with.
|
Object |
XMLCryptoContext.getProperty(String name)
Returns the value of the specified property.
|
boolean |
XMLStructure.isFeatureSupported(String feature)
Indicates whether a specified feature is supported.
|
String |
XMLCryptoContext.putNamespacePrefix(String namespaceURI,
String prefix)
Maps the specified namespace URI to the specified prefix.
|
void |
XMLCryptoContext.setBaseURI(String baseURI)
Sets the base URI.
|
void |
XMLCryptoContext.setDefaultNamespacePrefix(String defaultPrefix)
Sets the default namespace prefix.
|
Object |
XMLCryptoContext.setProperty(String name,
Object value)
Sets the specified property.
|
| Constructor and Description |
|---|
KeySelector.Purpose(String name) |
KeySelectorException(String message)
Constructs a new
KeySelectorException with the specified
detail message. |
KeySelectorException(String message,
Throwable cause)
Constructs a new
KeySelectorException with the
specified detail message and cause. |
MarshalException(String message)
Constructs a new
MarshalException with the specified
detail message. |
MarshalException(String message,
Throwable cause)
Constructs a new
MarshalException with the
specified detail message and cause. |
NoSuchMechanismException(String message)
Constructs a new
NoSuchMechanismException with the
specified detail message. |
NoSuchMechanismException(String message,
Throwable cause)
Constructs a new
NoSuchMechanismException with the
specified detail message and cause. |
OctetStreamData(InputStream octetStream,
String uri,
String mimeType)
Creates a new
OctetStreamData. |
URIReferenceException(String message)
Constructs a new
URIReferenceException with the specified
detail message. |
URIReferenceException(String message,
Throwable cause)
Constructs a new
URIReferenceException with the
specified detail message and cause. |
URIReferenceException(String message,
Throwable cause,
URIReference uriReference)
Constructs a new
URIReferenceException with the
specified detail message, cause and URIReference. |
| Modifier and Type | Field and Description |
|---|---|
private String |
DOMCryptoContext.baseURI |
private String |
DOMCryptoContext.defaultPrefix |
| Modifier and Type | Method and Description |
|---|---|
String |
DOMCryptoContext.getBaseURI() |
String |
DOMCryptoContext.getDefaultNamespacePrefix() |
String |
DOMCryptoContext.getNamespacePrefix(String namespaceURI,
String defaultPrefix)
This implementation uses an internal
HashMap to get the prefix
that the specified URI maps to. |
String |
DOMCryptoContext.putNamespacePrefix(String namespaceURI,
String prefix)
This implementation uses an internal
HashMap to map the URI
to the specified prefix. |
| Modifier and Type | Method and Description |
|---|---|
Element |
DOMCryptoContext.getElementById(String idValue)
Returns the
Element with the specified ID attribute value. |
String |
DOMCryptoContext.getNamespacePrefix(String namespaceURI,
String defaultPrefix)
This implementation uses an internal
HashMap to get the prefix
that the specified URI maps to. |
Object |
DOMCryptoContext.getProperty(String name)
This implementation uses an internal
HashMap to get the object
that the specified name maps to. |
boolean |
DOMStructure.isFeatureSupported(String feature) |
String |
DOMCryptoContext.putNamespacePrefix(String namespaceURI,
String prefix)
This implementation uses an internal
HashMap to map the URI
to the specified prefix. |
void |
DOMCryptoContext.setBaseURI(String baseURI) |
void |
DOMCryptoContext.setDefaultNamespacePrefix(String defaultPrefix) |
void |
DOMCryptoContext.setIdAttributeNS(Element element,
String namespaceURI,
String localName)
Registers the element's attribute specified by the namespace URI and
local name to be of type ID.
|
Object |
DOMCryptoContext.setProperty(String name,
Object value)
This implementation uses an internal
HashMap to map the name
to the specified object. |
| Modifier and Type | Field and Description |
|---|---|
private String |
TransformService.algorithm |
private String |
TransformService.MechanismMapEntry.algorithm |
static String |
Transform.BASE64
The Base64
transform algorithm URI.
|
static String |
SignatureMethod.DSA_SHA1
The DSAwithSHA1
(DSS) signature method algorithm URI.
|
static String |
Transform.ENVELOPED
The
Enveloped Signature transform algorithm URI.
|
static String |
CanonicalizationMethod.EXCLUSIVE
The Exclusive
Canonical XML (without comments) canonicalization method algorithm
URI.
|
static String |
CanonicalizationMethod.EXCLUSIVE_WITH_COMMENTS
The
Exclusive Canonical XML with comments canonicalization method
algorithm URI.
|
static String |
SignatureMethod.HMAC_SHA1
The HMAC-SHA1
MAC signature method algorithm URI
|
static String |
CanonicalizationMethod.INCLUSIVE
The Canonical
XML (without comments) canonicalization method algorithm URI.
|
static String |
CanonicalizationMethod.INCLUSIVE_WITH_COMMENTS
The
Canonical XML with comments canonicalization method algorithm URI.
|
private String |
TransformService.MechanismMapEntry.key |
private String |
TransformService.mechanism |
private String |
TransformService.MechanismMapEntry.mechanism |
private String |
XMLSignatureFactory.mechanismType |
static String |
DigestMethod.RIPEMD160
The
RIPEMD-160 digest method algorithm URI.
|
static String |
SignatureMethod.RSA_SHA1
The RSAwithSHA1
(PKCS #1) signature method algorithm URI.
|
static String |
DigestMethod.SHA1
The
SHA1 digest method algorithm URI.
|
static String |
DigestMethod.SHA256
The
SHA256 digest method algorithm URI.
|
static String |
DigestMethod.SHA512
The
SHA512 digest method algorithm URI.
|
static String |
XMLObject.TYPE
URI that identifies the
Object element (this can be
specified as the value of the type parameter of the
Reference class to identify the referent's type). |
static String |
SignatureProperties.TYPE
URI that identifies the
SignatureProperties element (this
can be specified as the value of the type parameter of the
Reference class to identify the referent's type). |
static String |
Manifest.TYPE
URI that identifies the
Manifest element (this can be
specified as the value of the type parameter of the
Reference class to identify the referent's type). |
static String |
XMLSignature.XMLNS
The XML Namespace URI of the W3C Recommendation for XML-Signature
Syntax and Processing.
|
static String |
Transform.XPATH
The XPath
transform algorithm URI.
|
static String |
Transform.XPATH2
The
XPath Filter 2 transform algorithm URI.
|
static String |
Transform.XSLT
The XSLT
transform algorithm URI.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TransformService.getAlgorithm()
Returns the URI of the algorithm supported by this
TransformService. |
String |
XMLObject.getEncoding()
Returns the encoding URI of this
XMLObject. |
String |
XMLSignature.getId()
Returns the optional Id of this
XMLSignature. |
String |
XMLSignature.SignatureValue.getId()
Returns the optional
Id attribute of this
SignatureValue, which permits this element to be
referenced from elsewhere. |
String |
XMLObject.getId()
Returns the Id of this
XMLObject. |
String |
SignedInfo.getId()
Returns the optional
Id attribute of this
SignedInfo. |
String |
SignatureProperty.getId()
Returns the Id of this
SignatureProperty. |
String |
SignatureProperties.getId()
Returns the Id of this
SignatureProperties. |
String |
Reference.getId()
Returns the optional
Id attribute of this
Reference, which permits this reference to be
referenced from elsewhere. |
String |
Manifest.getId()
Returns the Id of this
Manifest. |
String |
XMLSignatureFactory.getMechanismType()
Returns the type of the XML processing mechanism and representation
supported by this
XMLSignatureFactory (ex: "DOM"). |
String |
TransformService.getMechanismType()
Returns the mechanism type supported by this
TransformService. |
String |
XMLObject.getMimeType()
Returns the mime type of this
XMLObject. |
String |
SignatureProperty.getTarget()
Returns the target URI of this
SignatureProperty. |
| Modifier and Type | Method and Description |
|---|---|
static XMLSignatureFactory |
XMLSignatureFactory.getInstance(String mechanismType)
Returns an
XMLSignatureFactory that supports the
specified XML processing mechanism and representation type (ex: "DOM"). |
static XMLSignatureFactory |
XMLSignatureFactory.getInstance(String mechanismType,
Provider provider)
Returns an
XMLSignatureFactory that supports the
requested XML processing mechanism and representation type (ex: "DOM"),
as supplied by the specified provider. |
static XMLSignatureFactory |
XMLSignatureFactory.getInstance(String mechanismType,
String provider)
Returns an
XMLSignatureFactory that supports the
requested XML processing mechanism and representation type (ex: "DOM"),
as supplied by the specified provider. |
static TransformService |
TransformService.getInstance(String algorithm,
String mechanismType)
Returns a
TransformService that supports the specified
algorithm URI (ex: Transform.XPATH2) and mechanism type
(ex: DOM). |
static TransformService |
TransformService.getInstance(String algorithm,
String mechanismType,
Provider provider)
Returns a
TransformService that supports the specified
algorithm URI (ex: Transform.XPATH2) and mechanism type
(ex: DOM) as supplied by the specified provider. |
static TransformService |
TransformService.getInstance(String algorithm,
String mechanismType,
String provider)
Returns a
TransformService that supports the specified
algorithm URI (ex: Transform.XPATH2) and mechanism type
(ex: DOM) as supplied by the specified provider. |
abstract boolean |
XMLSignatureFactory.isFeatureSupported(String feature)
Indicates whether a specified feature is supported.
|
abstract CanonicalizationMethod |
XMLSignatureFactory.newCanonicalizationMethod(String algorithm,
C14NMethodParameterSpec params)
Creates a
CanonicalizationMethod for the specified
algorithm URI and parameters. |
abstract CanonicalizationMethod |
XMLSignatureFactory.newCanonicalizationMethod(String algorithm,
XMLStructure params)
Creates a
CanonicalizationMethod for the specified
algorithm URI and parameters. |
abstract DigestMethod |
XMLSignatureFactory.newDigestMethod(String algorithm,
DigestMethodParameterSpec params)
Creates a
DigestMethod for the specified algorithm URI
and parameters. |
abstract Manifest |
XMLSignatureFactory.newManifest(List references,
String id)
Creates a
Manifest containing the specified
list of References and optional id. |
abstract Reference |
XMLSignatureFactory.newReference(String uri,
DigestMethod dm)
Creates a
Reference with the specified URI and digest
method. |
abstract Reference |
XMLSignatureFactory.newReference(String uri,
DigestMethod dm,
List appliedTransforms,
Data result,
List transforms,
String type,
String id)
Creates a
Reference with the specified parameters. |
abstract Reference |
XMLSignatureFactory.newReference(String uri,
DigestMethod dm,
List transforms,
String type,
String id)
Creates a
Reference with the specified parameters. |
abstract Reference |
XMLSignatureFactory.newReference(String uri,
DigestMethod dm,
List transforms,
String type,
String id,
byte[] digestValue)
Creates a
Reference with the specified parameters and
pre-calculated digest value. |
abstract SignatureMethod |
XMLSignatureFactory.newSignatureMethod(String algorithm,
SignatureMethodParameterSpec params)
Creates a
SignatureMethod for the specified algorithm URI
and parameters. |
abstract SignatureProperties |
XMLSignatureFactory.newSignatureProperties(List properties,
String id)
Creates a
SignatureProperties containing the specified
list of SignaturePropertys and optional id. |
abstract SignatureProperty |
XMLSignatureFactory.newSignatureProperty(List content,
String target,
String id)
Creates a
SignatureProperty containing the specified
list of XMLStructures, target URI and optional id. |
abstract SignedInfo |
XMLSignatureFactory.newSignedInfo(CanonicalizationMethod cm,
SignatureMethod sm,
List references,
String id)
Creates a
SignedInfo with the specified parameters. |
abstract Transform |
XMLSignatureFactory.newTransform(String algorithm,
TransformParameterSpec params)
Creates a
Transform for the specified algorithm URI
and parameters. |
abstract Transform |
XMLSignatureFactory.newTransform(String algorithm,
XMLStructure params)
Creates a
Transform for the specified algorithm URI
and parameters. |
abstract XMLObject |
XMLSignatureFactory.newXMLObject(List content,
String id,
String mimeType,
String encoding)
Creates an
XMLObject from the specified parameters. |
abstract XMLSignature |
XMLSignatureFactory.newXMLSignature(SignedInfo si,
KeyInfo ki,
List objects,
String id,
String signatureValueId)
Creates an
XMLSignature and initializes it with the
specified parameters. |
| Constructor and Description |
|---|
TransformException(String message)
Constructs a new
TransformException with the specified
detail message. |
TransformException(String message,
Throwable cause)
Constructs a new
TransformException with the
specified detail message and cause. |
TransformService.MechanismMapEntry(String algorithm,
String mechanism) |
XMLSignatureException(String message)
Constructs a new
XMLSignatureException with the specified
detail message. |
XMLSignatureException(String message,
Throwable cause)
Constructs a new
XMLSignatureException with the
specified detail message and cause. |
| Modifier and Type | Field and Description |
|---|---|
static String |
KeyValue.DSA_TYPE
URI identifying the DSA KeyValue KeyInfo type:
http://www.w3.org/2000/09/xmldsig#DSAKeyValue.
|
private String |
KeyInfoFactory.mechanismType |
static String |
X509Data.RAW_X509_CERTIFICATE_TYPE
URI identifying the binary (ASN.1 DER) X.509 Certificate KeyInfo type:
http://www.w3.org/2000/09/xmldsig#rawX509Certificate.
|
static String |
KeyValue.RSA_TYPE
URI identifying the RSA KeyValue KeyInfo type:
http://www.w3.org/2000/09/xmldsig#RSAKeyValue.
|
static String |
X509Data.TYPE
URI identifying the X509Data KeyInfo type:
http://www.w3.org/2000/09/xmldsig#X509Data.
|
static String |
PGPData.TYPE
URI identifying the PGPData KeyInfo type:
http://www.w3.org/2000/09/xmldsig#PGPData.
|
| Modifier and Type | Method and Description |
|---|---|
String |
KeyInfo.getId()
Return the optional Id attribute of this
KeyInfo, which
may be useful for referencing this KeyInfo from other
XML structures. |
String |
X509IssuerSerial.getIssuerName()
Returns the X.500 distinguished name of this
X509IssuerSerial in
RFC 2253 String format. |
String |
KeyInfoFactory.getMechanismType()
Returns the type of the XML processing mechanism and representation
supported by this
KeyInfoFactory (ex: "DOM") |
String |
KeyName.getName()
Returns the name of this
KeyName. |
String |
RetrievalMethod.getURI()
Returns the URI of the referenced
KeyInfo information. |
| Modifier and Type | Method and Description |
|---|---|
static KeyInfoFactory |
KeyInfoFactory.getInstance(String mechanismType)
Returns a
KeyInfoFactory that supports the
specified XML processing mechanism and representation type (ex: "DOM"). |
static KeyInfoFactory |
KeyInfoFactory.getInstance(String mechanismType,
Provider provider)
Returns a
KeyInfoFactory that supports the
requested XML processing mechanism and representation type (ex: "DOM"),
as supplied by the specified provider. |
static KeyInfoFactory |
KeyInfoFactory.getInstance(String mechanismType,
String provider)
Returns a
KeyInfoFactory that supports the
requested XML processing mechanism and representation type (ex: "DOM"),
as supplied by the specified provider. |
abstract boolean |
KeyInfoFactory.isFeatureSupported(String feature)
Indicates whether a specified feature is supported.
|
abstract KeyInfo |
KeyInfoFactory.newKeyInfo(List content,
String id)
Creates a
KeyInfo containing the specified list of key
information types and optional id. |
abstract KeyName |
KeyInfoFactory.newKeyName(String name)
Creates a
KeyName from the specified name. |
abstract RetrievalMethod |
KeyInfoFactory.newRetrievalMethod(String uri)
Creates a
RetrievalMethod from the specified URI. |
abstract RetrievalMethod |
KeyInfoFactory.newRetrievalMethod(String uri,
String type,
List transforms)
Creates a
RetrievalMethod from the specified parameters. |
abstract X509IssuerSerial |
KeyInfoFactory.newX509IssuerSerial(String issuerName,
BigInteger serialNumber)
Creates an
X509IssuerSerial from the specified X.500 issuer
distinguished name and serial number. |
| Modifier and Type | Field and Description |
|---|---|
static String |
ExcC14NParameterSpec.DEFAULT
Indicates the default namespace ("#default").
|
private String |
XPathType.expression |
private String |
XPathType.Filter.operation |
private String |
XPathFilterParameterSpec.xPath |
| Modifier and Type | Method and Description |
|---|---|
String |
XPathType.getExpression()
Returns the XPath expression to be evaluated.
|
String |
XPathFilterParameterSpec.getXPath()
Returns the XPath expression to be evaluated.
|
String |
XPathType.Filter.toString()
Returns the string form of the operation.
|
| Constructor and Description |
|---|
XPathFilterParameterSpec(String xPath)
Creates an
XPathFilterParameterSpec with the specified
XPath expression. |
XPathFilterParameterSpec(String xPath,
Map namespaceMap)
Creates an
XPathFilterParameterSpec with the specified
XPath expression and namespace map. |
XPathType.Filter(String operation) |
XPathType(String expression,
XPathType.Filter filter)
Creates an
XPathType instance with the specified XPath
expression and filter. |
XPathType(String expression,
XPathType.Filter filter,
Map namespaceMap)
Creates an
XPathType instance with the specified XPath
expression, filter, and namespace map. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DatatypeFactory.DATATYPEFACTORY_IMPLEMENTATION_CLASS
Default implementation class name as defined in
JSR 206: Java(TM) API for XML Processing (JAXP) 1.3.
|
static String |
DatatypeFactory.DATATYPEFACTORY_PROPERTY
Default property name as defined in JSR 206: Java(TM) API for XML Processing (JAXP) 1.3.
|
private static String |
FactoryFinder.DEFAULT_PACKAGE |
private String |
DatatypeConstants.Field.str
String representation of Field. |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
String |
XMLGregorianCalendar.toString()
Returns a
String representation of this XMLGregorianCalendar Object. |
String |
Duration.toString()
Returns a
String representation of this Duration Object. |
String |
DatatypeConstants.Field.toString()
Returns a field name in English.
|
private String |
Duration.toString(BigDecimal bd)
Turns
BigDecimal to a string representation. |
abstract String |
XMLGregorianCalendar.toXMLFormat()
Return the lexical representation of
this instance. |
| Modifier and Type | Method and Description |
|---|---|
private static void |
FactoryFinder.dPrint(String msg) |
(package private) static Object |
FactoryFinder.find(String factoryId,
String fallbackClassName)
Finds the implementation Class object in the specified order.
|
private static Object |
FactoryFinder.findJarServiceProvider(String factoryId) |
private static Class |
FactoryFinder.getProviderClass(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader)
Attempt to load a class using the class loader supplied.
|
(package private) InputStream |
SecuritySupport.getResourceAsStream(ClassLoader cl,
String name) |
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
abstract Duration |
DatatypeFactory.newDuration(String lexicalRepresentation)
Obtain a new instance of a
Duration
specifying the Duration as its string representation, "PnYnMnDTnHnMnS",
as defined in XML Schema 1.0 section 3.2.6.1. |
Duration |
DatatypeFactory.newDurationDayTime(String lexicalRepresentation)
Create a
Duration of type xdt:dayTimeDuration by parsing its String representation,
"PnDTnHnMnS",
XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration. |
Duration |
DatatypeFactory.newDurationYearMonth(String lexicalRepresentation)
Create a
Duration of type xdt:yearMonthDuration by parsing its String representation,
"PnYnM",
XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration. |
static DatatypeFactory |
DatatypeFactory.newInstance(String factoryClassName,
ClassLoader classLoader)
Obtain a new instance of a
DatatypeFactory from class name. |
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback)
Create an instance of a class.
|
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader)
Create an instance of a class.
|
abstract XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendar(String lexicalRepresentation)
Create a new XMLGregorianCalendar by parsing the String as a lexical representation.
|
| Constructor and Description |
|---|
DatatypeConfigurationException(String message)
Create a new
DatatypeConfigurationException with
the specified detail message. |
DatatypeConfigurationException(String message,
Throwable cause)
Create a new
DatatypeConfigurationException with
the specified detail message and cause. |
DatatypeConstants.Field(String str,
int id)
Construct a
Field with specified values. |
FactoryFinder.ConfigurationError(String msg,
Exception x)
Construct a new instance with the specified detail string and
exception.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
QName.localPart
local part of this
QName. |
private String |
QName.namespaceURI
Namespace URI of this
QName. |
private String |
QName.prefix
prefix of this
QName. |
| Modifier and Type | Method and Description |
|---|---|
String |
QName.getLocalPart()
Get the local part of this
QName. |
String |
QName.getNamespaceURI()
Get the Namespace URI of this
QName. |
String |
NamespaceContext.getNamespaceURI(String prefix)
Get Namespace URI bound to a prefix in the current scope.
|
String |
QName.getPrefix()
Get the prefix of this
QName. |
String |
NamespaceContext.getPrefix(String namespaceURI)
Get prefix bound to Namespace URI in the current scope.
|
String |
QName.toString()
String representation of this
QName. |
| Modifier and Type | Method and Description |
|---|---|
String |
NamespaceContext.getNamespaceURI(String prefix)
Get Namespace URI bound to a prefix in the current scope.
|
String |
NamespaceContext.getPrefix(String namespaceURI)
Get prefix bound to Namespace URI in the current scope.
|
Iterator |
NamespaceContext.getPrefixes(String namespaceURI)
Get all prefixes bound to a Namespace URI in the current
scope.
|
static QName |
QName.valueOf(String qNameAsString)
QName derived from parsing the formatted
String. |
| Constructor and Description |
|---|
QName(String localPart)
QName constructor specifying the local part. |
QName(String namespaceURI,
String localPart)
QName constructor specifying the Namespace URI
and local part. |
QName(String namespaceURI,
String localPart,
String prefix)
QName constructor specifying the Namespace URI,
local part and prefix. |
| Modifier and Type | Field and Description |
|---|---|
private static String |
FactoryFinder.DEFAULT_PACKAGE |
private static String |
SAXParserFactory.DEFAULT_PROPERTY_NAME
The default property name according to the JAXP spec
|
private static String |
DocumentBuilderFactory.DEFAULT_PROPERTY_NAME
The default property name according to the JAXP spec
|
| Modifier and Type | Method and Description |
|---|---|
String |
FactoryConfigurationError.getMessage()
Return the message (if any) for this error .
|
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
FactoryFinder.dPrint(String msg) |
(package private) static Object |
FactoryFinder.find(String factoryId,
String fallbackClassName)
Finds the implementation Class object in the specified order.
|
private static Object |
FactoryFinder.findJarServiceProvider(String factoryId) |
abstract Object |
DocumentBuilderFactory.getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying
implementation.
|
abstract boolean |
SAXParserFactory.getFeature(String name)
Returns the particular property requested for in the underlying
implementation of org.xml.sax.XMLReader.
|
abstract boolean |
DocumentBuilderFactory.getFeature(String name)
Get the state of the named feature.
|
abstract Object |
SAXParser.getProperty(String name)
Returns the particular property requested for in the underlying
implementation of
XMLReader. |
private static Class |
FactoryFinder.getProviderClass(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader)
Attempt to load a class using the class loader supplied.
|
(package private) InputStream |
SecuritySupport.getResourceAsStream(ClassLoader cl,
String name) |
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
static SAXParserFactory |
SAXParserFactory.newInstance(String factoryClassName,
ClassLoader classLoader)
Obtain a new instance of a
SAXParserFactory from class name. |
static DocumentBuilderFactory |
DocumentBuilderFactory.newInstance(String factoryClassName,
ClassLoader classLoader)
Obtain a new instance of a
DocumentBuilderFactory from class name. |
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback)
Create an instance of a class.
|
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader)
Create an instance of a class.
|
void |
SAXParser.parse(InputStream is,
DefaultHandler dh,
String systemId)
Parse the content of the given
InputStream
instance as XML using the specified
DefaultHandler. |
void |
SAXParser.parse(InputStream is,
HandlerBase hb,
String systemId)
Parse the content of the given
InputStream
instance as XML using the specified HandlerBase. |
Document |
DocumentBuilder.parse(InputStream is,
String systemId)
Parse the content of the given
InputStream as an
XML document and return a new DOM Document object. |
Document |
DocumentBuilder.parse(String uri)
Parse the content of the given URI as an XML document
and return a new DOM
Document object. |
void |
SAXParser.parse(String uri,
DefaultHandler dh)
Parse the content described by the giving Uniform Resource
Identifier (URI) as XML using the specified
DefaultHandler. |
void |
SAXParser.parse(String uri,
HandlerBase hb)
Parse the content described by the giving Uniform Resource
Identifier (URI) as XML using the specified
HandlerBase. |
abstract void |
DocumentBuilderFactory.setAttribute(String name,
Object value)
Allows the user to set specific attributes on the underlying
implementation.
|
abstract void |
SAXParserFactory.setFeature(String name,
boolean value)
Sets the particular feature in the underlying implementation of
org.xml.sax.XMLReader.
|
abstract void |
DocumentBuilderFactory.setFeature(String name,
boolean value)
Set a feature for this
DocumentBuilderFactory and DocumentBuilders created by this factory. |
abstract void |
SAXParser.setProperty(String name,
Object value)
Sets the particular property in the underlying implementation of
XMLReader. |
| Constructor and Description |
|---|
FactoryConfigurationError(Exception e,
String msg)
Create a new
FactoryConfigurationError with the
given Exception base cause and detail message. |
FactoryConfigurationError(String msg)
Create a new
FactoryConfigurationError with
the String specified as an error message. |
FactoryFinder.ConfigurationError(String msg,
Exception x)
Construct a new instance with the specified detail string and
exception.
|
ParserConfigurationException(String msg)
Create a new
ParserConfigurationException with
the String specified as an error message. |
| Modifier and Type | Field and Description |
|---|---|
static String |
SOAPMessage.CHARACTER_SET_ENCODING
Specifies the character type encoding for the SOAP Message.
|
(package private) static String |
MessageFactory.DEFAULT_MESSAGE_FACTORY |
(package private) static String |
SAAJMetaFactory.DEFAULT_META_FACTORY_CLASS |
(package private) static String |
SOAPConnectionFactory.DEFAULT_SOAP_CONNECTION_FACTORY
A constant representing the default value for a
SOAPConnection
object. |
(package private) static String |
SOAPFactory.DEFAULT_SOAP_FACTORY
Class name of default
SOAPFactory implementation. |
static String |
SOAPConstants.DEFAULT_SOAP_PROTOCOL
The default protocol: SOAP 1.1 for backwards compatibility.
|
static String |
SOAPConstants.DYNAMIC_SOAP_PROTOCOL
Used to create
MessageFactory instances that create
SOAPMessages whose concrete type is based on the
Content-Type MIME header passed to the
createMessage method. |
private static String |
MessageFactory.MESSAGE_FACTORY_PROPERTY |
private static String |
SAAJMetaFactory.META_FACTORY_CLASS_PROPERTY |
private String |
MimeHeader.name |
private String[] |
MimeHeaders.MatchingIterator.names |
private static String |
SOAPConnectionFactory.SF_PROPERTY
A constant representing the
SOAPConnection class. |
static String |
SOAPConstants.SOAP_1_1_CONTENT_TYPE
The media type of the
Content-Type MIME header in SOAP 1.1. |
static String |
SOAPConstants.SOAP_1_1_PROTOCOL
Used to create
MessageFactory instances that create
SOAPMessages whose behavior supports the SOAP 1.1 specification. |
static String |
SOAPConstants.SOAP_1_2_CONTENT_TYPE
The media type of the
Content-Type MIME header in SOAP 1.2. |
static String |
SOAPConstants.SOAP_1_2_PROTOCOL
Used to create
MessageFactory instances that create
SOAPMessages whose behavior supports the SOAP 1.2
specification |
static String |
SOAPConstants.SOAP_ENV_PREFIX
The default namespace prefix for http://www.w3.org/2003/05/soap-envelope
|
private static String |
SOAPFactory.SOAP_FACTORY_PROPERTY
A constant representing the property used to lookup the name of
a
SOAPFactory implementation class. |
static String |
SOAPConstants.URI_NS_SOAP_1_1_ENVELOPE
The namespace identifier for the SOAP 1.1 envelope.
|
static String |
SOAPConstants.URI_NS_SOAP_1_2_ENCODING
The namespace identifier for the SOAP 1.2 encoding.
|
static String |
SOAPConstants.URI_NS_SOAP_1_2_ENVELOPE
The namespace identifier for the SOAP 1.2 envelope.
|
static String |
SOAPConstants.URI_NS_SOAP_ENCODING
The namespace identifier for the SOAP 1.1 encoding.
|
static String |
SOAPConstants.URI_NS_SOAP_ENVELOPE
The namespace identifier for the SOAP 1.1 envelope, All SOAPElements in this
namespace are defined by the SOAP 1.1 specification.
|
static String |
SOAPConstants.URI_SOAP_1_2_ROLE_NEXT
The URI identifying the next application processing a SOAP request as the intended
role for a SOAP 1.2 header entry (see section 2.2 of part 1 of the SOAP 1.2
specification).
|
static String |
SOAPConstants.URI_SOAP_1_2_ROLE_NONE
The URI specifying the role None in SOAP 1.2.
|
static String |
SOAPConstants.URI_SOAP_1_2_ROLE_ULTIMATE_RECEIVER
The URI identifying the ultimate receiver of the SOAP 1.2 message.
|
static String |
SOAPConstants.URI_SOAP_ACTOR_NEXT
The URI identifying the next application processing a SOAP request as the intended
actor for a SOAP 1.1 header entry (see section 4.2.2 of the SOAP 1.1 specification).
|
private String |
MimeHeader.value |
static String |
SOAPMessage.WRITE_XML_DECLARATION
Specifies whether the SOAP Message will contain an XML declaration when
it is sent.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SOAPHeaderElement.getActor()
Returns the uri of the actor attribute of this
SOAPHeaderElement. |
String |
SOAPElement.getAttributeValue(Name name)
Returns the value of the attribute with the specified name.
|
String |
SOAPElement.getAttributeValue(QName qname)
Returns the value of the attribute with the specified qname.
|
abstract String |
SOAPMessage.getContentDescription()
Retrieves a description of this
SOAPMessage object's
content. |
String |
SOAPPart.getContentId()
Retrieves the value of the MIME header whose name is "Content-Id".
|
String |
AttachmentPart.getContentId()
Gets the value of the MIME header whose name is "Content-ID".
|
String |
SOAPPart.getContentLocation()
Retrieves the value of the MIME header whose name is "Content-Location".
|
String |
AttachmentPart.getContentLocation()
Gets the value of the MIME header whose name is "Content-Location".
|
String |
AttachmentPart.getContentType()
Gets the value of the MIME header whose name is "Content-Type".
|
String |
SOAPElement.getEncodingStyle()
Returns the encoding style for this
SOAPElement object. |
String |
SOAPFault.getFaultActor()
Gets the fault actor for this
SOAPFault object. |
String |
SOAPFault.getFaultCode()
Gets the fault code for this
SOAPFault object. |
String |
SOAPFault.getFaultNode()
Returns the optional Node element value for this
SOAPFault object. |
String |
SOAPFault.getFaultReasonText(Locale locale)
Returns the Reason Text associated with the given
Locale. |
String |
SOAPFault.getFaultRole()
Returns the optional Role element value for this
SOAPFault object. |
String |
SOAPFault.getFaultString()
Gets the fault string for this
SOAPFault object. |
String[] |
MimeHeaders.getHeader(String name)
Returns all of the values for the specified header as an array of
String objects. |
String |
Name.getLocalName()
Gets the local name part of the XML name that this
Name
object represents. |
String |
SOAPException.getMessage()
Returns the detail message for this
SOAPException
object. |
abstract String[] |
SOAPPart.getMimeHeader(String name)
Gets all the values of the
MimeHeader object
in this SOAPPart object that
is identified by the given String. |
abstract String[] |
AttachmentPart.getMimeHeader(String name)
Gets all the values of the header identified by the given
String. |
String |
MimeHeader.getName()
Returns the name of this
MimeHeader object. |
String |
SOAPElement.getNamespaceURI(String prefix)
Returns the URI of the namespace that has the given prefix.
|
String |
Name.getPrefix()
Returns the prefix that was specified when this
Name object
was initialized. |
String |
Name.getQualifiedName()
Gets the namespace-qualified name of the XML name that this
Name object represents. |
String |
SOAPHeaderElement.getRole()
Returns the value of the Role attribute of this
SOAPHeaderElement. |
String |
Name.getURI()
Returns the URI of the namespace for the XML
name that this
Name object represents. |
String |
Node.getValue()
Returns the value of this node if this is a
Text node or the
value of the immediate child of this node otherwise. |
String |
MimeHeader.getValue()
Returns the value of this
MimeHeader object. |
| Modifier and Type | Method and Description |
|---|---|
SOAPElement |
SOAPElement.addAttribute(Name name,
String value)
Adds an attribute with the specified name and value to this
SOAPElement object. |
SOAPElement |
SOAPElement.addAttribute(QName qname,
String value)
Adds an attribute with the specified name and value to this
SOAPElement object. |
SOAPElement |
SOAPElement.addChildElement(String localName)
Creates a new
SOAPElement object initialized with the
specified local name and adds the new element to this
SOAPElement object. |
SOAPElement |
SOAPElement.addChildElement(String localName,
String prefix)
Creates a new
SOAPElement object initialized with the
specified local name and prefix and adds the new element to this
SOAPElement object. |
SOAPElement |
SOAPElement.addChildElement(String localName,
String prefix,
String uri)
Creates a new
SOAPElement object initialized with the
specified local name, prefix, and URI and adds the new element to this
SOAPElement object. |
SOAPFault |
SOAPBody.addFault(Name faultCode,
String faultString)
Creates a new
SOAPFault object and adds it to this
SOAPBody object. |
SOAPFault |
SOAPBody.addFault(Name faultCode,
String faultString,
Locale locale)
Creates a new
SOAPFault object and adds it to
this SOAPBody object. |
SOAPFault |
SOAPBody.addFault(QName faultCode,
String faultString)
Creates a new
SOAPFault object and adds it to this SOAPBody
object. |
SOAPFault |
SOAPBody.addFault(QName faultCode,
String faultString,
Locale locale)
Creates a new
SOAPFault object and adds it to this
SOAPBody object. |
void |
SOAPFault.addFaultReasonText(String text,
Locale locale)
Appends or replaces a Reason Text item containing the specified
text message and an xml:lang derived from
locale. |
void |
MimeHeaders.addHeader(String name,
String value)
Adds a
MimeHeader object with the specified name and value
to this MimeHeaders object's list of headers. |
abstract void |
SOAPPart.addMimeHeader(String name,
String value)
Creates a
MimeHeader object with the specified
name and value and adds it to this SOAPPart object. |
abstract void |
AttachmentPart.addMimeHeader(String name,
String value)
Adds a MIME header with the specified name and value to this
AttachmentPart object. |
SOAPElement |
SOAPElement.addNamespaceDeclaration(String prefix,
String uri)
Adds a namespace declaration with the specified prefix and URI to this
SOAPElement object. |
SOAPElement |
SOAPElement.addTextNode(String text)
Creates a new
Text object initialized with the given
String and adds it to this SOAPElement object. |
SOAPHeaderElement |
SOAPHeader.addUpgradeHeaderElement(String supportedSoapUri)
Creates a new Upgrade
SOAPHeaderElement object initialized
with the specified supported SOAP URI and adds it to this
SOAPHeader object. |
SOAPHeaderElement |
SOAPHeader.addUpgradeHeaderElement(String[] supportedSoapUris)
Creates a new Upgrade
SOAPHeaderElement object initialized
with the specified array of supported SOAP URIs and adds it to this
SOAPHeader object. |
SOAPElement |
SOAPElementFactory.create(String localName)
Deprecated.
Use
javax.xml.soap.SOAPFactory.createElement(String localName) instead
|
SOAPElement |
SOAPElementFactory.create(String localName,
String prefix,
String uri)
Deprecated.
Use
javax.xml.soap.SOAPFactory.createElement(String localName,
String prefix,
String uri)
instead
|
AttachmentPart |
SOAPMessage.createAttachmentPart(Object content,
String contentType)
Creates an
AttachmentPart object and populates it with
the specified data of the specified content type. |
abstract SOAPElement |
SOAPFactory.createElement(String localName)
Creates a
SOAPElement object initialized with the
given local name. |
abstract SOAPElement |
SOAPFactory.createElement(String localName,
String prefix,
String uri)
Creates a new
SOAPElement object with the given
local name, prefix and uri. |
abstract SOAPFault |
SOAPFactory.createFault(String reasonText,
QName faultCode)
Creates a new
SOAPFault object initialized with the given reasonText
and faultCode |
abstract Name |
SOAPFactory.createName(String localName)
Creates a new
Name object initialized with the
given local name. |
Name |
SOAPEnvelope.createName(String localName)
Creates a new
Name object initialized with the
given local name. |
abstract Name |
SOAPFactory.createName(String localName,
String prefix,
String uri)
Creates a new
Name object initialized with the
given local name, namespace prefix, and namespace URI. |
Name |
SOAPEnvelope.createName(String localName,
String prefix,
String uri)
Creates a new
Name object initialized with the
given local name, namespace prefix, and namespace URI. |
QName |
SOAPElement.createQName(String localName,
String prefix)
Creates a
QName whose namespace URI is the one associated
with the parameter, prefix, in the context of this
SOAPElement. |
Iterator |
SOAPHeader.examineHeaderElements(String actor)
Returns an
Iterator over all the SOAPHeaderElement objects
in this SOAPHeader object
that have the specified actor. |
Iterator |
SOAPHeader.examineMustUnderstandHeaderElements(String actor)
Returns an
Iterator over all the SOAPHeaderElement objects
in this SOAPHeader object
that have the specified actor and that have a MustUnderstand attribute
whose value is equivalent to true. |
Iterator |
SOAPHeader.extractHeaderElements(String actor)
Returns an
Iterator over all the SOAPHeaderElement objects
in this SOAPHeader object
that have the specified actor and detaches them
from this SOAPHeader object. |
(package private) static Object |
FactoryFinder.find(String factoryId)
Finds the implementation
Class object for the given
factory name, or null if that fails. |
(package private) static Object |
FactoryFinder.find(String factoryId,
String fallbackClassName)
Finds the implementation
Class object for the given
factory name, or if that fails, finds the Class object
for the given fallback class name. |
(package private) static Object |
FactoryFinder.find(String factoryId,
String defaultClassName,
boolean tryFallback)
Finds the implementation
Class object for the given
factory name, or if that fails, finds the Class object
for the given default class name, but only if tryFallback
is true. |
String[] |
MimeHeaders.getHeader(String name)
Returns all of the values for the specified header as an array of
String objects. |
Iterator |
MimeHeaders.getMatchingHeaders(String[] names)
Returns all the
MimeHeader objects whose name matches
a name in the given array of names. |
abstract Iterator |
SOAPPart.getMatchingMimeHeaders(String[] names)
Retrieves all
MimeHeader objects that match a name in
the given array. |
abstract Iterator |
AttachmentPart.getMatchingMimeHeaders(String[] names)
Retrieves all
MimeHeader objects that match a name in
the given array. |
abstract String[] |
SOAPPart.getMimeHeader(String name)
Gets all the values of the
MimeHeader object
in this SOAPPart object that
is identified by the given String. |
abstract String[] |
AttachmentPart.getMimeHeader(String name)
Gets all the values of the header identified by the given
String. |
String |
SOAPElement.getNamespaceURI(String prefix)
Returns the URI of the namespace that has the given prefix.
|
Iterator |
MimeHeaders.getNonMatchingHeaders(String[] names)
Returns all of the
MimeHeader objects whose name does not
match a name in the given array of names. |
abstract Iterator |
SOAPPart.getNonMatchingMimeHeaders(String[] names)
Retrieves all
MimeHeader objects whose name does
not match a name in the given array. |
abstract Iterator |
AttachmentPart.getNonMatchingMimeHeaders(String[] names)
Retrieves all
MimeHeader objects whose name does
not match a name in the given array. |
Object |
SOAPMessage.getProperty(String property)
Retrieves value of the specified property.
|
private static boolean |
FactoryFinder.isDefaultImplementation(String className) |
static SOAPFactory |
SOAPFactory.newInstance(String protocol)
Creates a new
SOAPFactory object that is an instance of
the specified implementation, this method uses the SAAJMetaFactory to
locate the implementation class and create the SOAPFactory instance. |
static MessageFactory |
MessageFactory.newInstance(String protocol)
Creates a new
MessageFactory object that is an instance
of the specified implementation. |
private static Object |
FactoryFinder.newInstance(String className,
ClassLoader classLoader)
Creates an instance of the specified class using the specified
ClassLoader object. |
protected abstract MessageFactory |
SAAJMetaFactory.newMessageFactory(String protocol)
Creates a
MessageFactory object for
the given String protocol. |
protected abstract SOAPFactory |
SAAJMetaFactory.newSOAPFactory(String protocol)
Creates a
SOAPFactory object for
the given String protocol. |
void |
MimeHeaders.removeHeader(String name)
Remove all
MimeHeader objects whose name matches the
given name. |
abstract void |
SOAPPart.removeMimeHeader(String header)
Removes all MIME headers that match the given name.
|
abstract void |
AttachmentPart.removeMimeHeader(String header)
Removes all MIME headers that match the given name.
|
boolean |
SOAPElement.removeNamespaceDeclaration(String prefix)
Removes the namespace declaration corresponding to the given prefix.
|
private static Class |
FactoryFinder.safeLoadClass(String className,
ClassLoader classLoader)
Loads the class, provided that the calling thread has an access to the
class being loaded.
|
void |
SOAPHeaderElement.setActor(String actorURI)
Sets the actor associated with this
SOAPHeaderElement
object to the specified actor. |
abstract void |
AttachmentPart.setBase64Content(InputStream content,
String contentType)
Sets the content of this attachment part from the Base64 source
InputStream and sets the value of the
Content-Type header to the value contained in
contentType, This method would first decode the base64
input and write the resulting raw bytes to the attachment. |
abstract void |
AttachmentPart.setContent(Object object,
String contentType)
Sets the content of this attachment part to that of the given
Object and sets the value of the Content-Type
header to the given type. |
abstract void |
SOAPMessage.setContentDescription(String description)
Sets the description of this
SOAPMessage object's
content with the given description. |
void |
SOAPPart.setContentId(String contentId)
Sets the value of the MIME header named "Content-Id"
to the given
String. |
void |
AttachmentPart.setContentId(String contentId)
Sets the MIME header whose name is "Content-ID" with the given value.
|
void |
SOAPPart.setContentLocation(String contentLocation)
Sets the value of the MIME header "Content-Location"
to the given
String. |
void |
AttachmentPart.setContentLocation(String contentLocation)
Sets the MIME header whose name is "Content-Location" with the given value.
|
void |
AttachmentPart.setContentType(String contentType)
Sets the MIME header whose name is "Content-Type" with the given value.
|
void |
SOAPElement.setEncodingStyle(String encodingStyle)
Sets the encoding style for this
SOAPElement object
to one specified. |
void |
SOAPFault.setFaultActor(String faultActor)
Sets this
SOAPFault object with the given fault actor. |
void |
SOAPFault.setFaultCode(String faultCode)
Sets this
SOAPFault object with the give fault code. |
void |
SOAPFault.setFaultNode(String uri)
Creates or replaces any existing Node element value for
this
SOAPFault object. |
void |
SOAPFault.setFaultRole(String uri)
Creates or replaces any existing Role element value for
this
SOAPFault object. |
void |
SOAPFault.setFaultString(String faultString)
Sets the fault string for this
SOAPFault object
to the given string. |
void |
SOAPFault.setFaultString(String faultString,
Locale locale)
Sets the fault string for this
SOAPFault object
to the given string and localized to the given locale. |
void |
MimeHeaders.setHeader(String name,
String value)
Replaces the current value of the first header entry whose name matches
the given name with the given value, adding a new header if no existing header
name matches.
|
abstract void |
SOAPPart.setMimeHeader(String name,
String value)
Changes the first header entry that matches the given header name
so that its value is the given value, adding a new header with the
given name and value if no
existing header is a match.
|
abstract void |
AttachmentPart.setMimeHeader(String name,
String value)
Changes the first header entry that matches the given name
to the given value, adding a new header if no existing header
matches.
|
void |
SOAPMessage.setProperty(String property,
Object value)
Associates the specified value with the specified property.
|
abstract void |
AttachmentPart.setRawContent(InputStream content,
String contentType)
Sets the content of this attachment part to that contained by the
InputStream content and sets the value of the
Content-Type header to the value contained in
contentType. |
abstract void |
AttachmentPart.setRawContentBytes(byte[] content,
int offset,
int len,
String contentType)
Sets the content of this attachment part to that contained by the
byte[] array content and sets the value of the
Content-Type header to the value contained in
contentType. |
void |
SOAPHeaderElement.setRole(String uri)
Sets the
Role associated with this SOAPHeaderElement
object to the specified Role. |
void |
Node.setValue(String value)
If this is a Text node then this method will set its value,
otherwise it sets the value of the immediate (Text) child of this node.
|
| Constructor and Description |
|---|
MimeHeader(String name,
String value)
Constructs a
MimeHeader object initialized with the given
name and value. |
MimeHeaders.MatchingIterator(String[] names,
boolean match) |
SAAJResult(String protocol)
Creates a
SAAJResult that will present results in the form
of a SAAJ tree that supports the specified protocol. |
SOAPException(String reason)
Constructs a
SOAPException object with the given
String as the reason for the exception being thrown. |
SOAPException(String reason,
Throwable cause)
Constructs a
SOAPException object with the given
String as the reason for the exception being thrown
and the given Throwable object as an embedded
exception. |
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLInputFactory.ALLOCATOR
The property used to set/get the implementation of the allocator
|
(package private) static String |
XMLOutputFactory.DEFAULIMPL |
(package private) static String |
XMLInputFactory.DEFAULIMPL |
(package private) static String |
XMLEventFactory.DEFAULIMPL |
private static String |
FactoryFinder.DEFAULT_PACKAGE |
static String |
XMLInputFactory.IS_COALESCING
The property that requires the parser to coalesce adjacent character data sections
|
static String |
XMLInputFactory.IS_NAMESPACE_AWARE
The property used to turn on/off namespace support,
this is to support XML 1.0 documents,
only the true setting must be supported
|
static String |
XMLOutputFactory.IS_REPAIRING_NAMESPACES
Property used to set prefix defaulting on the output side
|
static String |
XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES
Requires the parser to replace internal
entity references with their replacement
text and report them as characters
|
static String |
XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES
The property that requires the parser to resolve external parsed entities
|
static String |
XMLInputFactory.IS_VALIDATING
The property used to turn on/off implementation specific validation
|
(package private) static String |
XMLOutputFactory.JAXPFACTORYID |
(package private) static String |
XMLInputFactory.JAXPFACTORYID |
(package private) static String |
XMLEventFactory.JAXPFACTORYID |
static String |
XMLInputFactory.REPORTER
The property used to
set/get the implementation of the XMLReporter interface
|
static String |
XMLInputFactory.RESOLVER
The property used to set/get the implementation of the XMLResolver
|
static String |
XMLInputFactory.SUPPORT_DTD
The property that requires the parser to support DTDs
|
| Modifier and Type | Method and Description |
|---|---|
String |
XMLStreamReader.getAttributeLocalName(int index)
Returns the localName of the attribute at the provided
index
|
String |
XMLStreamReader.getAttributeNamespace(int index)
Returns the namespace of the attribute at the provided
index
|
String |
XMLStreamReader.getAttributePrefix(int index)
Returns the prefix of this attribute at the
provided index
|
String |
XMLStreamReader.getAttributeType(int index)
Returns the XML type of the attribute at the provided
index
|
String |
XMLStreamReader.getAttributeValue(int index)
Returns the value of the attribute at the
index
|
String |
XMLStreamReader.getAttributeValue(String namespaceURI,
String localName)
Returns the normalized attribute value of the
attribute with the namespace and localName
If the namespaceURI is null the namespace
is not checked for equality
|
String |
XMLStreamReader.getCharacterEncodingScheme()
Returns the character encoding declared on the xml declaration
Returns null if none was declared
|
String |
XMLStreamReader.getElementText()
Reads the content of a text-only element, an exception is thrown if this is
not a text-only element.
|
String |
XMLEventReader.getElementText()
Reads the content of a text-only element.
|
String |
XMLStreamReader.getEncoding()
Return input encoding if known or null if unknown.
|
String |
XMLStreamReader.getLocalName()
Returns the (local) name of the current event.
|
String |
FactoryConfigurationError.getMessage()
Report the message associated with this error
|
String |
XMLStreamReader.getNamespacePrefix(int index)
Returns the prefix for the namespace declared at the
index.
|
String |
XMLStreamReader.getNamespaceURI()
If the current event is a START_ELEMENT or END_ELEMENT this method
returns the URI of the prefix or the default namespace.
|
String |
XMLStreamReader.getNamespaceURI(int index)
Returns the uri for the namespace declared at the
index.
|
String |
XMLStreamReader.getNamespaceURI(String prefix)
Return the uri for the given prefix.
|
String |
XMLStreamReader.getPIData()
Get the data section of a processing instruction
|
String |
XMLStreamReader.getPITarget()
Get the target of a processing instruction
|
String |
XMLStreamReader.getPrefix()
Returns the prefix of the current event or null if the event does not have a prefix
|
String |
XMLStreamWriter.getPrefix(String uri)
Gets the prefix the uri is bound to
|
String |
XMLEventWriter.getPrefix(String uri)
Gets the prefix the uri is bound to
|
String |
Location.getPublicId()
Returns the public ID of the XML
|
String |
Location.getSystemId()
Returns the system ID of the XML
|
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
String |
XMLStreamReader.getText()
Returns the current value of the parse event as a string,
this returns the string value of a CHARACTERS event,
returns the value of a COMMENT, the replacement value
for an ENTITY_REFERENCE, the string value of a CDATA section,
the string value for a SPACE event,
or the String value of the internal subset of the DTD.
|
String |
XMLStreamReader.getVersion()
Get the xml version declared on the xml declaration
Returns null if none was declared
|
| Modifier and Type | Method and Description |
|---|---|
abstract Attribute |
XMLEventFactory.createAttribute(QName name,
String value)
Create a new Attribute
|
abstract Attribute |
XMLEventFactory.createAttribute(String localName,
String value)
Create a new Attribute
|
abstract Attribute |
XMLEventFactory.createAttribute(String prefix,
String namespaceURI,
String localName,
String value)
Create a new Attribute
|
abstract Characters |
XMLEventFactory.createCData(String content)
Create a Characters event with the CData flag set to true
|
abstract Characters |
XMLEventFactory.createCharacters(String content)
Create a Characters event, this method does not check if the content
is all whitespace.
|
abstract Comment |
XMLEventFactory.createComment(String text)
Create a comment
|
abstract DTD |
XMLEventFactory.createDTD(String dtd)
Create a document type definition event
This string contains the entire document type declaration that matches
the doctypedecl in the XML 1.0 specification
|
abstract EndElement |
XMLEventFactory.createEndElement(String prefix,
String namespaceUri,
String localName)
Create a new EndElement
|
abstract EndElement |
XMLEventFactory.createEndElement(String prefix,
String namespaceUri,
String localName,
Iterator namespaces)
Create a new EndElement
|
abstract EntityReference |
XMLEventFactory.createEntityReference(String name,
EntityDeclaration declaration)
Creates a new instance of a EntityReference event
|
abstract Characters |
XMLEventFactory.createIgnorableSpace(String content)
Create an ignorable space
|
abstract Namespace |
XMLEventFactory.createNamespace(String namespaceURI)
Create a new default Namespace
|
abstract Namespace |
XMLEventFactory.createNamespace(String prefix,
String namespaceUri)
Create a new Namespace
|
abstract ProcessingInstruction |
XMLEventFactory.createProcessingInstruction(String target,
String data)
Create a processing instruction
|
abstract Characters |
XMLEventFactory.createSpace(String content)
Create a Characters event with the isSpace flag set to true
|
abstract StartDocument |
XMLEventFactory.createStartDocument(String encoding)
Creates a new instance of a StartDocument event
|
abstract StartDocument |
XMLEventFactory.createStartDocument(String encoding,
String version)
Creates a new instance of a StartDocument event
|
abstract StartDocument |
XMLEventFactory.createStartDocument(String encoding,
String version,
boolean standalone)
Creates a new instance of a StartDocument event
|
abstract StartElement |
XMLEventFactory.createStartElement(String prefix,
String namespaceUri,
String localName)
Create a new StartElement.
|
abstract StartElement |
XMLEventFactory.createStartElement(String prefix,
String namespaceUri,
String localName,
Iterator attributes,
Iterator namespaces)
Create a new StartElement.
|
abstract StartElement |
XMLEventFactory.createStartElement(String prefix,
String namespaceUri,
String localName,
Iterator attributes,
Iterator namespaces,
NamespaceContext context)
Create a new StartElement.
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(InputStream stream,
String encoding)
Create a new XMLEventReader from a java.io.InputStream
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(String systemId,
InputStream stream)
Create a new XMLEventReader from a java.io.InputStream
|
abstract XMLEventReader |
XMLInputFactory.createXMLEventReader(String systemId,
Reader reader)
Create a new XMLEventReader from a reader
|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(OutputStream stream,
String encoding)
Create a new XMLEventWriter that writes to a stream
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(InputStream stream,
String encoding)
Create a new XMLStreamReader from a java.io.InputStream
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(String systemId,
InputStream stream)
Create a new XMLStreamReader from a java.io.InputStream
|
abstract XMLStreamReader |
XMLInputFactory.createXMLStreamReader(String systemId,
Reader reader)
Create a new XMLStreamReader from a java.io.InputStream
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(OutputStream stream,
String encoding)
Create a new XMLStreamWriter that writes to a stream
|
private static void |
FactoryFinder.dPrint(String msg) |
(package private) static Object |
FactoryFinder.find(String factoryId,
ClassLoader cl,
String fallbackClassName,
boolean standardId)
Finds the implementation Class object in the specified order.
|
(package private) static Object |
FactoryFinder.find(String factoryId,
String fallbackClassName,
boolean standardId)
Finds the implementation Class object in the specified order.
|
private static Object |
FactoryFinder.findJarServiceProvider(String factoryId) |
String |
XMLStreamReader.getAttributeValue(String namespaceURI,
String localName)
Returns the normalized attribute value of the
attribute with the namespace and localName
If the namespaceURI is null the namespace
is not checked for equality
|
String |
XMLStreamReader.getNamespaceURI(String prefix)
Return the uri for the given prefix.
|
String |
XMLStreamWriter.getPrefix(String uri)
Gets the prefix the uri is bound to
|
String |
XMLEventWriter.getPrefix(String uri)
Gets the prefix the uri is bound to
|
Object |
XMLStreamWriter.getProperty(String name)
Get the value of a feature/property from the underlying implementation
|
Object |
XMLStreamReader.getProperty(String name)
Get the value of a feature/property from the underlying implementation
|
abstract Object |
XMLOutputFactory.getProperty(String name)
Get a feature/property on the underlying implementation
|
abstract Object |
XMLInputFactory.getProperty(String name)
Get the value of a feature/property from the underlying implementation
|
Object |
XMLEventReader.getProperty(String name)
Get the value of a feature/property from the underlying implementation
|
private static Class |
FactoryFinder.getProviderClass(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader)
Attempt to load a class using the class loader supplied.
|
(package private) InputStream |
SecuritySupport.getResourceAsStream(ClassLoader cl,
String name) |
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
abstract boolean |
XMLOutputFactory.isPropertySupported(String name)
Query the set of properties that this factory supports.
|
abstract boolean |
XMLInputFactory.isPropertySupported(String name)
Query the set of properties that this factory supports.
|
static XMLOutputFactory |
XMLOutputFactory.newFactory(String factoryId,
ClassLoader classLoader)
Create a new instance of the factory.
|
static XMLInputFactory |
XMLInputFactory.newFactory(String factoryId,
ClassLoader classLoader)
Create a new instance of the factory.
|
static XMLEventFactory |
XMLEventFactory.newFactory(String factoryId,
ClassLoader classLoader)
Create a new instance of the factory.
|
static XMLInputFactory |
XMLOutputFactory.newInstance(String factoryId,
ClassLoader classLoader)
Deprecated.
This method has been deprecated because it returns an
instance of XMLInputFactory, which is of the wrong class.
Use the new method
XMLOutputFactory.newFactory(java.lang.String,
java.lang.ClassLoader) instead. |
static XMLInputFactory |
XMLInputFactory.newInstance(String factoryId,
ClassLoader classLoader)
Deprecated.
This method has been deprecated to maintain API consistency.
All newInstance methods have been replaced with corresponding
newFactory methods. The replacement
XMLInputFactory.newFactory(java.lang.String, java.lang.ClassLoader) method
defines no changes in behavior. |
static XMLEventFactory |
XMLEventFactory.newInstance(String factoryId,
ClassLoader classLoader)
Deprecated.
This method has been deprecated to maintain API consistency.
All newInstance methods have been replaced with corresponding
newFactory methods. The replacement
XMLEventFactory.newFactory(java.lang.String, java.lang.ClassLoader)
method defines no changes in behavior. |
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback)
Create an instance of a class.
|
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader)
Create an instance of a class.
|
void |
XMLReporter.report(String message,
String errorType,
Object relatedInformation,
Location location)
Report the desired message in an application specific format.
|
void |
XMLStreamReader.require(int type,
String namespaceURI,
String localName)
Test if the current event is of the given type and if the namespace and name match the current
namespace and name of the current event.
|
Object |
XMLResolver.resolveEntity(String publicID,
String systemID,
String baseURI,
String namespace)
Retrieves a resource.
|
void |
XMLStreamWriter.setDefaultNamespace(String uri)
Binds a URI to the default namespace
This URI is bound
in the scope of the current START_ELEMENT / END_ELEMENT pair.
|
void |
XMLEventWriter.setDefaultNamespace(String uri)
Binds a URI to the default namespace
This URI is bound
in the scope of the current START_ELEMENT / END_ELEMENT pair.
|
void |
XMLStreamWriter.setPrefix(String prefix,
String uri)
Sets the prefix the uri is bound to.
|
void |
XMLEventWriter.setPrefix(String prefix,
String uri)
Sets the prefix the uri is bound to.
|
abstract void |
XMLOutputFactory.setProperty(String name,
Object value)
Allows the user to set specific features/properties on the underlying implementation.
|
abstract void |
XMLInputFactory.setProperty(String name,
Object value)
Allows the user to set specific feature/property on the underlying
implementation.
|
void |
XMLStreamWriter.writeAttribute(String localName,
String value)
Writes an attribute to the output stream without
a prefix.
|
void |
XMLStreamWriter.writeAttribute(String namespaceURI,
String localName,
String value)
Writes an attribute to the output stream
|
void |
XMLStreamWriter.writeAttribute(String prefix,
String namespaceURI,
String localName,
String value)
Writes an attribute to the output stream
|
void |
XMLStreamWriter.writeCData(String data)
Writes a CData section
|
void |
XMLStreamWriter.writeCharacters(String text)
Write text to the output
|
void |
XMLStreamWriter.writeComment(String data)
Writes an xml comment with the data enclosed
|
void |
XMLStreamWriter.writeDefaultNamespace(String namespaceURI)
Writes the default namespace to the stream
|
void |
XMLStreamWriter.writeDTD(String dtd)
Write a DTD section.
|
void |
XMLStreamWriter.writeEmptyElement(String localName)
Writes an empty element tag to the output
|
void |
XMLStreamWriter.writeEmptyElement(String namespaceURI,
String localName)
Writes an empty element tag to the output
|
void |
XMLStreamWriter.writeEmptyElement(String prefix,
String localName,
String namespaceURI)
Writes an empty element tag to the output
|
void |
XMLStreamWriter.writeEntityRef(String name)
Writes an entity reference
|
void |
XMLStreamWriter.writeNamespace(String prefix,
String namespaceURI)
Writes a namespace to the output stream
If the prefix argument to this method is the empty string,
"xmlns", or null this method will delegate to writeDefaultNamespace
|
void |
XMLStreamWriter.writeProcessingInstruction(String target)
Writes a processing instruction
|
void |
XMLStreamWriter.writeProcessingInstruction(String target,
String data)
Writes a processing instruction
|
void |
XMLStreamWriter.writeStartDocument(String version)
Write the XML Declaration.
|
void |
XMLStreamWriter.writeStartDocument(String encoding,
String version)
Write the XML Declaration.
|
void |
XMLStreamWriter.writeStartElement(String localName)
Writes a start tag to the output.
|
void |
XMLStreamWriter.writeStartElement(String namespaceURI,
String localName)
Writes a start tag to the output
|
void |
XMLStreamWriter.writeStartElement(String prefix,
String localName,
String namespaceURI)
Writes a start tag to the output
|
| Constructor and Description |
|---|
FactoryConfigurationError(Exception e,
String msg)
Construct an exception with a nested inner exception
and a message
|
FactoryConfigurationError(String msg)
Construct an exception with associated message
|
FactoryConfigurationError(String msg,
Exception e)
Construct an exception with a nested inner exception
and a message
|
FactoryFinder.ConfigurationError(String msg,
Exception x)
Construct a new instance with the specified detail string and
exception.
|
XMLStreamException(String msg)
Construct an exception with the assocated message.
|
XMLStreamException(String msg,
Location location)
Construct an exception with the assocated message, exception and location.
|
XMLStreamException(String msg,
Location location,
Throwable th)
Construct an exception with the assocated message, exception and location.
|
XMLStreamException(String msg,
Throwable th)
Construct an exception with the assocated message and exception
|
| Modifier and Type | Method and Description |
|---|---|
String |
EntityDeclaration.getBaseURI()
Get the base URI for this reference
or null if this information is not available
|
String |
StartDocument.getCharacterEncodingScheme()
Returns the encoding style of the XML data
|
String |
ProcessingInstruction.getData()
The data section of the processing instruction
|
String |
Characters.getData()
Get the character data of this event
|
String |
DTD.getDocumentTypeDeclaration()
Returns the entire Document Type Declaration as a string, including
the internal DTD subset.
|
String |
Attribute.getDTDType()
Gets the type of this attribute, default is
the String "CDATA"
|
String |
NotationDeclaration.getName()
The notation name.
|
String |
EntityReference.getName()
The name of the entity
|
String |
EntityDeclaration.getName()
The entity's name
|
String |
Namespace.getNamespaceURI()
Gets the uri bound to the prefix of this namespace
|
String |
StartElement.getNamespaceURI(String prefix)
Gets the value that the prefix is bound to in the
context of this element.
|
String |
EntityDeclaration.getNotationName()
The name of the associated notation.
|
String |
Namespace.getPrefix()
Gets the prefix, returns "" if this is a default
namespace declaration.
|
String |
NotationDeclaration.getPublicId()
The notation's public identifier, or null if none was given.
|
String |
EntityDeclaration.getPublicId()
The entity's public identifier, or null if none was given
|
String |
EntityDeclaration.getReplacementText()
The replacement text of the entity.
|
String |
StartDocument.getSystemId()
Returns the system ID of the XML data
|
String |
NotationDeclaration.getSystemId()
The notation's system identifier, or null if none was given.
|
String |
EntityDeclaration.getSystemId()
The entity's system identifier.
|
String |
ProcessingInstruction.getTarget()
The target section of the processing instruction
|
String |
Comment.getText()
Return the string data of the comment, returns empty string if it
does not exist
|
String |
Attribute.getValue()
Gets the normalized value of this attribute
|
String |
StartDocument.getVersion()
Returns the version of XML of this XML stream
|
| Modifier and Type | Method and Description |
|---|---|
String |
StartElement.getNamespaceURI(String prefix)
Gets the value that the prefix is bound to in the
context of this element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
StreamReaderDelegate.getAttributeLocalName(int index) |
String |
StreamReaderDelegate.getAttributeNamespace(int index) |
String |
StreamReaderDelegate.getAttributePrefix(int index) |
String |
StreamReaderDelegate.getAttributeType(int index) |
String |
StreamReaderDelegate.getAttributeValue(int index) |
String |
StreamReaderDelegate.getAttributeValue(String namespaceUri,
String localName) |
String |
StreamReaderDelegate.getCharacterEncodingScheme() |
String |
StreamReaderDelegate.getElementText() |
String |
EventReaderDelegate.getElementText() |
String |
StreamReaderDelegate.getEncoding() |
String |
StreamReaderDelegate.getLocalName() |
String |
StreamReaderDelegate.getNamespacePrefix(int index) |
String |
StreamReaderDelegate.getNamespaceURI() |
String |
StreamReaderDelegate.getNamespaceURI(int index) |
String |
StreamReaderDelegate.getNamespaceURI(String prefix) |
String |
StreamReaderDelegate.getPIData() |
String |
StreamReaderDelegate.getPITarget() |
String |
StreamReaderDelegate.getPrefix() |
String |
StreamReaderDelegate.getText() |
String |
StreamReaderDelegate.getVersion() |
| Modifier and Type | Method and Description |
|---|---|
String |
StreamReaderDelegate.getAttributeValue(String namespaceUri,
String localName) |
String |
StreamReaderDelegate.getNamespaceURI(String prefix) |
Object |
StreamReaderDelegate.getProperty(String name) |
Object |
EventReaderDelegate.getProperty(String name) |
void |
StreamReaderDelegate.require(int type,
String namespaceURI,
String localName) |
| Modifier and Type | Field and Description |
|---|---|
static String |
OutputKeys.CDATA_SECTION_ELEMENTS
cdata-section-elements = expanded names.
|
private static String |
FactoryFinder.DEFAULT_PACKAGE |
static String |
OutputKeys.DOCTYPE_PUBLIC
doctype-public = string.
|
static String |
OutputKeys.DOCTYPE_SYSTEM
doctype-system = string.
|
static String |
OutputKeys.ENCODING
encoding = string.
|
static String |
OutputKeys.INDENT
indent = "yes" | "no".
|
static String |
OutputKeys.MEDIA_TYPE
media-type = string.
|
static String |
OutputKeys.METHOD
method = "xml" | "html" | "text" | expanded name.
|
static String |
OutputKeys.OMIT_XML_DECLARATION
omit-xml-declaration = "yes" | "no".
|
static String |
Result.PI_DISABLE_OUTPUT_ESCAPING
The name of the processing instruction that is sent if the
result tree disables output escaping.
|
static String |
Result.PI_ENABLE_OUTPUT_ESCAPING
The name of the processing instruction that is sent
if the result tree enables output escaping at some point after having
received a PI_DISABLE_OUTPUT_ESCAPING processing instruction.
|
static String |
OutputKeys.STANDALONE
standalone = "yes" | "no".
|
static String |
OutputKeys.VERSION
version = nmtoken.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TransformerException.getLocationAsString()
Get the location information as a string.
|
String |
TransformerFactoryConfigurationError.getMessage()
Return the message (if any) for this error .
|
String |
TransformerException.getMessageAndLocation()
Get the error message with location information
appended.
|
abstract String |
Transformer.getOutputProperty(String name)
Get an output property that is in effect for the transformer.
|
String |
SourceLocator.getPublicId()
Return the public identifier for the current document event.
|
String |
SourceLocator.getSystemId()
Return the system identifier for the current document event.
|
String |
Source.getSystemId()
Get the system identifier that was set with setSystemId.
|
String |
Result.getSystemId()
Get the system identifier that was set with setSystemId.
|
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
FactoryFinder.dPrint(String msg) |
(package private) static Object |
FactoryFinder.find(String factoryId,
String fallbackClassName)
Finds the implementation Class object in the specified order.
|
private static Object |
FactoryFinder.findJarServiceProvider(String factoryId) |
abstract Source |
TransformerFactory.getAssociatedStylesheet(Source source,
String media,
String title,
String charset)
Get the stylesheet specification(s) associated with the
XML
Source document via the
xml-stylesheet processing instruction that match the given criteria. |
abstract Object |
TransformerFactory.getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying
implementation.
|
abstract boolean |
TransformerFactory.getFeature(String name)
Look up the value of a feature.
|
abstract String |
Transformer.getOutputProperty(String name)
Get an output property that is in effect for the transformer.
|
abstract Object |
Transformer.getParameter(String name)
Get a parameter that was explicitly set with setParameter.
|
private static Class |
FactoryFinder.getProviderClass(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader)
Attempt to load a class using the class loader supplied.
|
(package private) InputStream |
SecuritySupport.getResourceAsStream(ClassLoader cl,
String name) |
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
static TransformerFactory |
TransformerFactory.newInstance(String factoryClassName,
ClassLoader classLoader)
Obtain a new instance of a
TransformerFactory from factory class name. |
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback)
Create an instance of a class.
|
(package private) static Object |
FactoryFinder.newInstance(String className,
ClassLoader cl,
boolean doFallback,
boolean useBSClsLoader,
boolean useServicesMechanism)
Create an instance of a class.
|
Source |
URIResolver.resolve(String href,
String base)
Called by the processor when it encounters
an xsl:include, xsl:import, or document() function.
|
abstract void |
TransformerFactory.setAttribute(String name,
Object value)
Allows the user to set specific attributes on the underlying
implementation.
|
abstract void |
TransformerFactory.setFeature(String name,
boolean value)
Set a feature for this
TransformerFactory and Transformers
or Templates created by this factory. |
abstract void |
Transformer.setOutputProperty(String name,
String value)
Set an output property that will be in effect for the
transformation.
|
abstract void |
Transformer.setParameter(String name,
Object value)
Add a parameter for the transformation.
|
void |
Source.setSystemId(String systemId)
Set the system identifier for this Source.
|
void |
Result.setSystemId(String systemId)
Set the system identifier for this Result.
|
| Constructor and Description |
|---|
FactoryFinder.ConfigurationError(String msg,
Exception x)
Construct a new instance with the specified detail string and
exception.
|
TransformerConfigurationException(String msg)
Create a new
TransformerConfigurationException with
the String specified as an error message. |
TransformerConfigurationException(String message,
SourceLocator locator)
Create a new TransformerConfigurationException from a message and a Locator.
|
TransformerConfigurationException(String message,
SourceLocator locator,
Throwable e)
Wrap an existing exception in a TransformerConfigurationException.
|
TransformerConfigurationException(String msg,
Throwable e)
Create a new
TransformerConfigurationException with the
given Exception base cause and detail message. |
TransformerException(String message)
Create a new TransformerException.
|
TransformerException(String message,
SourceLocator locator)
Create a new TransformerException from a message and a Locator.
|
TransformerException(String message,
SourceLocator locator,
Throwable e)
Wrap an existing exception in a TransformerException.
|
TransformerException(String message,
Throwable e)
Wrap an existing exception in a TransformerException.
|
TransformerFactoryConfigurationError(Exception e,
String msg)
Create a new
TransformerFactoryConfigurationError with the
given Exception base cause and detail message. |
TransformerFactoryConfigurationError(String msg)
Create a new
TransformerFactoryConfigurationError with
the String specified as an error message. |
| Modifier and Type | Field and Description |
|---|---|
static String |
DOMSource.FEATURE
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Source input of this type. |
static String |
DOMResult.FEATURE
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
private String |
DOMResult.systemId
The System ID that may be used in association with the node.
|
private String |
DOMSource.systemID
The base ID (URL or system ID) from where URLs
will be resolved.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DOMSource.getSystemId()
Get the base ID (URL or system ID) from where URLs
will be resolved.
|
String |
DOMResult.getSystemId()
Get the System Identifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DOMSource.setSystemId(String systemID)
Set the base ID (URL or system ID) from where URLs
will be resolved.
|
void |
DOMResult.setSystemId(String systemId)
Set the systemId that may be used in association with the node.
|
| Constructor and Description |
|---|
DOMResult(Node node,
Node nextSibling,
String systemId)
Use a DOM node to create a new output target specifying the child node where the result nodes should be inserted before and
the specified System ID.
|
DOMResult(Node node,
String systemId)
Use a DOM node to create a new output target with the specified System ID.
|
DOMSource(Node node,
String systemID)
Create a new input source with a DOM node, and with the
system ID also passed in as the base URI.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SAXTransformerFactory.FEATURE
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the TransformerFactory returned from
TransformerFactory.newInstance() may
be safely cast to a SAXTransformerFactory. |
static String |
SAXSource.FEATURE
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Source input of this type. |
static String |
SAXResult.FEATURE
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
static String |
SAXTransformerFactory.FEATURE_XMLFILTER
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the SAXTransformerFactory.newXMLFilter(Source src)
and SAXTransformerFactory.newXMLFilter(Templates templates) methods are supported. |
private String |
SAXResult.systemId
The systemID that may be used in association
with the node.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TransformerHandler.getSystemId()
Get the base ID (URI or system ID) from where relative
URLs will be resolved.
|
String |
TemplatesHandler.getSystemId()
Get the base ID (URI or system ID) from where relative
URLs will be resolved.
|
String |
SAXSource.getSystemId()
Get the base ID (URI or system ID) from where URIs
will be resolved.
|
String |
SAXResult.getSystemId()
Get the system identifier that was set with setSystemId.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransformerHandler.setSystemId(String systemID)
Set the base ID (URI or system ID) from where relative
URLs will be resolved.
|
void |
TemplatesHandler.setSystemId(String systemID)
Set the base ID (URI or system ID) for the Templates object
created by this builder.
|
void |
SAXSource.setSystemId(String systemId)
Set the system identifier for this Source.
|
void |
SAXResult.setSystemId(String systemId)
Method setSystemId Set the systemID that may be used in association
with the
ContentHandler. |
| Modifier and Type | Field and Description |
|---|---|
static String |
StAXSource.FEATURE
If
TransformerFactory.getFeature(String name)
returns true when passed this value as an argument,
the Transformer supports Source input of this type. |
static String |
StAXResult.FEATURE
If
TransformerFactory.getFeature(String name)
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
private String |
StAXSource.systemId
System identifier of source input.
|
private String |
StAXResult.systemId
System identifier for this
StAXResult. |
| Modifier and Type | Method and Description |
|---|---|
String |
StAXSource.getSystemId()
Get the system identifier used by this
StAXSource. |
String |
StAXResult.getSystemId()
The returned system identifier is always
null. |
| Modifier and Type | Method and Description |
|---|---|
void |
StAXSource.setSystemId(String systemId)
In the context of a
StAXSource, it is not appropriate
to explicitly set the system identifier. |
void |
StAXResult.setSystemId(String systemId)
In the context of a
StAXResult, it is not appropriate
to explicitly set the system identifier. |
| Modifier and Type | Field and Description |
|---|---|
static String |
StreamSource.FEATURE
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Source input of this type. |
static String |
StreamResult.FEATURE
If
TransformerFactory.getFeature(java.lang.String)
returns true when passed this value as an argument,
the Transformer supports Result output of this type. |
private String |
StreamSource.publicId
The public identifier for this input source, or null.
|
private String |
StreamSource.systemId
The system identifier as a URL string, or null.
|
private String |
StreamResult.systemId
The systemID that may be used in association
with the byte or character stream, or, if neither is set, use
this value as a writeable URI (probably a file name).
|
| Modifier and Type | Method and Description |
|---|---|
String |
StreamSource.getPublicId()
Get the public identifier that was set with setPublicId.
|
String |
StreamSource.getSystemId()
Get the system identifier that was set with setSystemId.
|
String |
StreamResult.getSystemId()
Get the system identifier that was set with setSystemId.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StreamSource.setPublicId(String publicId)
Set the public identifier for this Source.
|
void |
StreamSource.setSystemId(String systemId)
Set the system identifier for this Source.
|
void |
StreamResult.setSystemId(String systemId)
Set the systemID that may be used in association
with the byte or character stream, or, if neither is set, use
this value as a writeable URI (probably a file name).
|
| Constructor and Description |
|---|
StreamResult(String systemId)
Construct a StreamResult from a URL.
|
StreamSource(InputStream inputStream,
String systemId)
Construct a StreamSource from a byte stream.
|
StreamSource(Reader reader,
String systemId)
Construct a StreamSource from a character reader.
|
StreamSource(String systemId)
Construct a StreamSource from a URL.
|
| Modifier and Type | Field and Description |
|---|---|
private static String |
SchemaFactoryFinder.DEFAULT_PACKAGE |
private static String |
SchemaFactoryFinder.SERVICE_ID |
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
private static String |
SchemaFactoryFinder.which(Class clazz) |
private static String |
SchemaFactoryFinder.which(String classname,
ClassLoader loader)
Search the specified classloader for the given classname.
|
| Modifier and Type | Method and Description |
|---|---|
private SchemaFactory |
SchemaFactoryFinder._newFactory(String schemaLanguage)
Lookup a
SchemaFactory for the given schemaLanguage. |
private Class |
SchemaFactoryFinder.createClass(String className)
Create class using appropriate ClassLoader.
|
(package private) SchemaFactory |
SchemaFactoryFinder.createInstance(String className)
Creates an instance of the specified and returns it.
|
(package private) SchemaFactory |
SchemaFactoryFinder.createInstance(String className,
boolean useServicesMechanism) |
private static void |
SchemaFactoryFinder.debugPrintln(String msg)
Conditional debug printing.
|
boolean |
ValidatorHandler.getFeature(String name)
Look up the value of a feature flag.
|
boolean |
Validator.getFeature(String name)
Look up the value of a feature flag.
|
boolean |
SchemaFactory.getFeature(String name)
Look up the value of a feature flag.
|
Object |
ValidatorHandler.getProperty(String name)
Look up the value of a property.
|
Object |
Validator.getProperty(String name)
Look up the value of a property.
|
Object |
SchemaFactory.getProperty(String name)
Look up the value of a property.
|
(package private) InputStream |
SecuritySupport.getResourceAsStream(ClassLoader cl,
String name) |
(package private) URL |
SecuritySupport.getResourceAsURL(ClassLoader cl,
String name) |
(package private) Enumeration |
SecuritySupport.getResources(ClassLoader cl,
String name) |
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
abstract boolean |
SchemaFactory.isSchemaLanguageSupported(String schemaLanguage)
Is specified schema supported by this
SchemaFactory? |
private SchemaFactory |
SchemaFactoryFinder.loadFromProperty(String keyName,
String resourceName,
InputStream in)
Looks up a value in a property file
while producing all sorts of debug messages.
|
private SchemaFactory |
SchemaFactoryFinder.loadFromService(String schemaLanguage,
String inputName,
InputStream in)
Look up a value in a property file.
|
abstract SchemaFactory |
SchemaFactoryLoader.newFactory(String schemaLanguage)
Creates a new
SchemaFactory object for the specified
schema language. |
SchemaFactory |
SchemaFactoryFinder.newFactory(String schemaLanguage)
Creates a new
SchemaFactory object for the specified
schema language. |
static SchemaFactory |
SchemaFactory.newInstance(String schemaLanguage)
Lookup an implementation of the
SchemaFactory that supports the specified
schema language and return it. |
static SchemaFactory |
SchemaFactory.newInstance(String schemaLanguage,
String factoryClassName,
ClassLoader classLoader)
Obtain a new instance of a
SchemaFactory from class name. |
void |
ValidatorHandler.setFeature(String name,
boolean value)
Set a feature for this
ValidatorHandler. |
void |
Validator.setFeature(String name,
boolean value)
Set the value of a feature flag.
|
void |
SchemaFactory.setFeature(String name,
boolean value)
Set a feature for this
SchemaFactory,
Schemas created by this factory, and by extension,
Validators and ValidatorHandlers created by
those Schemas. |
void |
ValidatorHandler.setProperty(String name,
Object object)
Set the value of a property.
|
void |
Validator.setProperty(String name,
Object object)
Set the value of a property.
|
void |
SchemaFactory.setProperty(String name,
Object object)
Set the value of a property.
|
private static String |
SchemaFactoryFinder.which(String classname,
ClassLoader loader)
Search the specified classloader for the given classname.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
BindingProvider.ENDPOINT_ADDRESS_PROPERTY
Standard property: Target service endpoint address.
|
static String |
RespectBindingFeature.ID
Constant value identifying the RespectBindingFeature
|
static String |
BindingProvider.PASSWORD_PROPERTY
Standard property: Password for authentication.
|
static String |
BindingProvider.SESSION_MAINTAIN_PROPERTY
Standard property: This boolean property is used by a service
client to indicate whether or not it wants to participate in
a session with a service endpoint.
|
static String |
BindingProvider.SOAPACTION_URI_PROPERTY
Standard property for SOAPAction.
|
static String |
BindingProvider.SOAPACTION_USE_PROPERTY
Standard property for SOAPAction.
|
static String |
BindingProvider.USERNAME_PROPERTY
Standard property: User name for authentication.
|
static String |
Endpoint.WSDL_PORT
Standard property: name of WSDL port.
|
static String |
Endpoint.WSDL_SERVICE
Standard property: name of WSDL service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Binding.getBindingID()
Get the URI for this binding instance.
|
abstract String |
WebServiceFeature.getID()
Get the unique identifier for this WebServiceFeature.
|
String |
RespectBindingFeature.getID()
Get the unique identifier for this WebServiceFeature.
|
String |
EndpointReference.toString()
Displays EPR infoset for debugging convenience.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
Response.getContext()
Gets the contained response context.
|
abstract Map<String,Object> |
Endpoint.getProperties()
Returns the property bag for this
Endpoint instance. |
Map<String,Object> |
BindingProvider.getRequestContext()
Get the context that is used to initialize the message context
for request messages.
|
Map<String,Object> |
BindingProvider.getResponseContext()
Get the context that resulted from processing a response message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Service.addPort(QName portName,
String bindingId,
String endpointAddress)
Creates a new port for the service.
|
static Endpoint |
Endpoint.create(String bindingId,
Object implementor)
Creates an endpoint with the specified binding type and
implementor object.
|
static Endpoint |
Endpoint.create(String bindingId,
Object implementor,
WebServiceFeature... features)
Creates an endpoint with the specified binding type,
implementor object, and web service features.
|
boolean |
WebServiceContext.isUserInRole(String role)
Returns a boolean indicating whether the
authenticated user is included in the specified
logical role.
|
abstract void |
Endpoint.publish(String address)
Publishes this endpoint at the given address.
|
static Endpoint |
Endpoint.publish(String address,
Object implementor)
Creates and publishes an endpoint for the specified implementor
object at the given address.
|
static Endpoint |
Endpoint.publish(String address,
Object implementor,
WebServiceFeature... features)
Creates and publishes an endpoint for the specified implementor
object at the given address.
|
static Service.Mode |
Service.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Endpoint.setProperties(Map<String,Object> properties)
Sets the property bag for this
Endpoint instance. |
| Constructor and Description |
|---|
ProtocolException(String message)
Constructs a new protocol exception with the specified detail message.
|
ProtocolException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and
cause.
|
WebServiceException(String message)
Constructs a new exception with the specified detail
message.
|
WebServiceException(String message,
Throwable cause)
Constructs a new exception with the specified detail
message and cause.
|
WebServicePermission(String name)
Creates a new permission with the specified name.
|
WebServicePermission(String name,
String actions)
Creates a new permission with the specified name and actions.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
MessageContext.HTTP_REQUEST_HEADERS
Standard property: HTTP request headers.
|
static String |
MessageContext.HTTP_REQUEST_METHOD
Standard property: HTTP request method.
|
static String |
MessageContext.HTTP_RESPONSE_CODE
Standard property: HTTP response status code.
|
static String |
MessageContext.HTTP_RESPONSE_HEADERS
Standard property: HTTP response headers.
|
static String |
MessageContext.INBOUND_MESSAGE_ATTACHMENTS
Standard property: Map of attachments to a message for the inbound
message, key is the MIME Content-ID, value is a DataHandler.
|
static String |
MessageContext.MESSAGE_OUTBOUND_PROPERTY
Standard property: message direction,
true for
outbound messages, false for inbound. |
static String |
MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS
Standard property: Map of attachments to a message for the outbound
message, key is the MIME Content-ID, value is a DataHandler.
|
static String |
MessageContext.PATH_INFO
Standard property: Request Path Info
|
static String |
MessageContext.QUERY_STRING
Standard property: Query string for request.
|
static String |
MessageContext.REFERENCE_PARAMETERS
Standard property: WS Addressing Reference Parameters.
|
static String |
MessageContext.SERVLET_CONTEXT
Standard property: servlet context object.
|
static String |
MessageContext.SERVLET_REQUEST
Standard property: servlet request object.
|
static String |
MessageContext.SERVLET_RESPONSE
Standard property: servlet response object.
|
static String |
MessageContext.WSDL_DESCRIPTION
Standard property: input source for WSDL document.
|
static String |
MessageContext.WSDL_INTERFACE
Standard property: name of wsdl interface (2.0) or port type (1.1).
|
static String |
MessageContext.WSDL_OPERATION
Standard property: name of WSDL operation.
|
static String |
MessageContext.WSDL_PORT
Standard property: name of WSDL port.
|
static String |
MessageContext.WSDL_SERVICE
Standard property: name of WSDL service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PortInfo.getBindingID()
Gets the URI identifying the binding used by the port being accessed.
|
| Modifier and Type | Method and Description |
|---|---|
MessageContext.Scope |
MessageContext.getScope(String name)
Gets the scope of a property.
|
void |
MessageContext.setScope(String name,
MessageContext.Scope scope)
Sets the scope of a property.
|
static MessageContext.Scope |
MessageContext.Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
SOAPMessageContext.getRoles()
Gets the SOAP actor roles associated with an execution
of the handler chain.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTPBinding.HTTP_BINDING
A constant representing the identity of the XML/HTTP binding.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
MTOMFeature.ID
Constant value identifying the MTOMFeature
|
static String |
AddressingFeature.ID
Constant value identifying the AddressingFeature
|
static String |
SOAPBinding.SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding.
|
static String |
SOAPBinding.SOAP11HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding
with MTOM enabled by default.
|
static String |
SOAPBinding.SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding.
|
static String |
SOAPBinding.SOAP12HTTP_MTOM_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding
with MTOM enabled by default.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MTOMFeature.getID()
Get the unique identifier for this WebServiceFeature.
|
String |
AddressingFeature.getID()
Get the unique identifier for this WebServiceFeature.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
SOAPBinding.getRoles()
Gets the roles played by the SOAP binding instance.
|
| Modifier and Type | Method and Description |
|---|---|
static AddressingFeature.Responses |
AddressingFeature.Responses.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SOAPBinding.setRoles(Set<String> roles)
Sets the roles played by the SOAP binding instance.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
Provider.DEFAULT_JAXWSPROVIDER
A constant representing the name of the default
Provider implementation class. |
static String |
Provider.JAXWSPROVIDER_PROPERTY
A constant representing the property used to lookup the
name of a
Provider implementation
class. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ServiceDelegate.addPort(QName portName,
String bindingId,
String endpointAddress)
Creates a new port for the service.
|
abstract Endpoint |
Provider.createAndPublishEndpoint(String address,
Object implementor)
Creates and publishes an endpoint object with the specified
address and implementation object.
|
Endpoint |
Provider.createAndPublishEndpoint(String address,
Object implementor,
WebServiceFeature... features)
Creates and publishes an endpoint object with the specified
address, implementation object and web service features.
|
Endpoint |
Provider.createEndpoint(String bindingId,
Class<?> implementorClass,
Invoker invoker,
WebServiceFeature... features)
Creates an endpoint object with the provided binding, implementation
class, invoker and web service features.
|
abstract Endpoint |
Provider.createEndpoint(String bindingId,
Object implementor)
Creates an endpoint object with the provided binding and implementation
object.
|
Endpoint |
Provider.createEndpoint(String bindingId,
Object implementor,
WebServiceFeature... features)
Creates an endpoint object with the provided binding, implementation
object and web service features.
|
abstract W3CEndpointReference |
Provider.createW3CEndpointReference(String address,
QName serviceName,
QName portName,
List<Element> metadata,
String wsdlDocumentLocation,
List<Element> referenceParameters)
Factory method to create a
W3CEndpointReference. |
W3CEndpointReference |
Provider.createW3CEndpointReference(String address,
QName interfaceName,
QName serviceName,
QName portName,
List<Element> metadata,
String wsdlDocumentLocation,
List<Element> referenceParameters,
List<Element> elements,
Map<QName,String> attributes)
Factory method to create a
W3CEndpointReference. |
(package private) static Object |
FactoryFinder.find(String factoryId,
String fallbackClassName)
Finds the implementation
Class object for the given
factory name, or if that fails, finds the Class object
for the given fallback class name. |
private static Object |
FactoryFinder.newInstance(String className,
ClassLoader classLoader)
Creates an instance of the specified class using the specified
ClassLoader object. |
private static Class |
FactoryFinder.safeLoadClass(String className,
ClassLoader classLoader)
Loads the class, provided that the calling thread has an access to the class being loaded.
|
| Modifier and Type | Method and Description |
|---|---|
W3CEndpointReference |
Provider.createW3CEndpointReference(String address,
QName interfaceName,
QName serviceName,
QName portName,
List<Element> metadata,
String wsdlDocumentLocation,
List<Element> referenceParameters,
List<Element> elements,
Map<QName,String> attributes)
Factory method to create a
W3CEndpointReference. |
| Modifier and Type | Field and Description |
|---|---|
static String |
HttpExchange.REQUEST_CIPHER_SUITE
Standard property: cipher suite value when the request is received
over HTTPS
|
static String |
HttpExchange.REQUEST_KEY_SIZE
Standard property: bit size of the algorithm when the request is
received over HTTPS
|
static String |
HttpExchange.REQUEST_X509CERTIFICATE
Standard property: A SSL certificate, if any, associated with the request
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
HttpExchange.getContextPath()
Returns the context path of all the endpoints in an application.
|
abstract String |
HttpContext.getPath()
Returns the path for this context.
|
abstract String |
HttpExchange.getPathInfo()
Returns the extra path information that follows the web service
path but precedes the query string in the request URI and will start
with a "/" character.
|
abstract String |
HttpExchange.getProtocol()
Returns the protocol string from the request in the form
protocol/majorVersion.minorVersion.
|
abstract String |
HttpExchange.getQueryString()
Returns the query string that is contained in the request URI
after the path.
|
abstract String |
HttpExchange.getRequestHeader(String name)
Returns the value of the specified request header.
|
abstract String |
HttpExchange.getRequestMethod()
Get the HTTP request method
|
abstract String |
HttpExchange.getRequestURI()
Returns the part of the request's URI from the protocol
name up to the query string in the first line of the HTTP request.
|
abstract String |
HttpExchange.getScheme()
Returns the name of the scheme used to make this request,
for example: http, or https.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Set<String> |
HttpExchange.getAttributeNames()
Gives all the attribute names that are associated with
this
HttpExchange. |
abstract Set<String> |
HttpContext.getAttributeNames()
Returns all attribute names for container's configuration
and other data that can be used by jax-ws runtime.
|
abstract Map<String,List<String>> |
HttpExchange.getRequestHeaders()
Returns an immutable Map containing the HTTP headers that were
included with this request.
|
abstract Map<String,List<String>> |
HttpExchange.getRequestHeaders()
Returns an immutable Map containing the HTTP headers that were
included with this request.
|
abstract Map<String,List<String>> |
HttpExchange.getResponseHeaders()
Returns a mutable Map into which the HTTP response headers can be stored
and which will be transmitted as part of this response.
|
abstract Map<String,List<String>> |
HttpExchange.getResponseHeaders()
Returns a mutable Map into which the HTTP response headers can be stored
and which will be transmitted as part of this response.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
HttpExchange.addResponseHeader(String name,
String value)
Adds a response header with the given name and value.
|
abstract Object |
HttpExchange.getAttribute(String name)
Returns an attribute that is associated with this
HttpExchange. |
abstract Object |
HttpContext.getAttribute(String name)
Returns an attribute value for container's configuration
and other data that can be used by jax-ws runtime.
|
abstract String |
HttpExchange.getRequestHeader(String name)
Returns the value of the specified request header.
|
abstract boolean |
HttpExchange.isUserInRole(String role)
Indicates whether an authenticated user is included in the specified
logical "role".
|
| Modifier and Type | Field and Description |
|---|---|
private String |
W3CEndpointReferenceBuilder.address |
protected static String |
W3CEndpointReference.NS |
(package private) String |
W3CEndpointReference.Address.uri |
private String |
W3CEndpointReferenceBuilder.wsdlDocumentLocation |
| Modifier and Type | Field and Description |
|---|---|
private Map<QName,String> |
W3CEndpointReferenceBuilder.attributes |
(package private) Map<QName,String> |
W3CEndpointReference.attributes |
(package private) Map<QName,String> |
W3CEndpointReference.Address.attributes |
(package private) Map<QName,String> |
W3CEndpointReference.Elements.attributes |
| Modifier and Type | Method and Description |
|---|---|
W3CEndpointReferenceBuilder |
W3CEndpointReferenceBuilder.address(String address)
Sets the
address to the
W3CEndpointReference instance's
wsa:Address. |
W3CEndpointReferenceBuilder |
W3CEndpointReferenceBuilder.attribute(QName name,
String value)
Adds an extension attribute to the
W3CEndpointReference instance's
wsa:EndpointReference element. |
W3CEndpointReferenceBuilder |
W3CEndpointReferenceBuilder.wsdlDocumentLocation(String wsdlDocumentLocation)
Sets the
wsdlDocumentLocation that will be referenced
as wsa:Metadata/@wsdli:wsdlLocation. |
| Modifier and Type | Field and Description |
|---|---|
static String |
XPathFactory.DEFAULT_OBJECT_MODEL_URI
Default Object Model URI.
|
private static String |
XPathFactoryFinder.DEFAULT_PACKAGE |
static String |
XPathFactory.DEFAULT_PROPERTY_NAME
The default property name according to the JAXP spec.
|
static String |
XPathConstants.DOM_OBJECT_MODEL
The URI for the DOM object model, "http://java.sun.com/jaxp/xpath/dom".
|
private static String |
XPathFactoryFinder.SERVICE_ID |
| Modifier and Type | Method and Description |
|---|---|
String |
XPathExpression.evaluate(InputSource source)
Evaluate the compiled XPath expression in the context of the specified
InputSource and return the result as a
String. |
String |
XPathExpression.evaluate(Object item)
Evaluate the compiled XPath expression in the specified context and return the result as a
String. |
String |
XPath.evaluate(String expression,
InputSource source)
Evaluate an XPath expression in the context of the specified
InputSource
and return the result as a String. |
String |
XPath.evaluate(String expression,
Object item)
Evaluate an XPath expression in the specified context and return the result as a
String. |
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
private static String |
XPathFactoryFinder.which(Class clazz) |
private static String |
XPathFactoryFinder.which(String classname,
ClassLoader loader)
Search the specified classloader for the given classname.
|
| Modifier and Type | Method and Description |
|---|---|
private XPathFactory |
XPathFactoryFinder._newFactory(String uri)
Lookup a
XPathFactory for the given object model. |
XPathExpression |
XPath.compile(String expression)
Compile an XPath expression for later evaluation.
|
private Class |
XPathFactoryFinder.createClass(String className)
Create class using appropriate ClassLoader.
|
(package private) XPathFactory |
XPathFactoryFinder.createInstance(String className)
Creates an instance of the specified and returns it.
|
(package private) XPathFactory |
XPathFactoryFinder.createInstance(String className,
boolean useServicesMechanism) |
private static void |
XPathFactoryFinder.debugPrintln(String msg)
Conditional debug printing.
|
String |
XPath.evaluate(String expression,
InputSource source)
Evaluate an XPath expression in the context of the specified
InputSource
and return the result as a String. |
Object |
XPath.evaluate(String expression,
InputSource source,
QName returnType)
Evaluate an XPath expression in the context of the specified
InputSource
and return the result as the specified type. |
String |
XPath.evaluate(String expression,
Object item)
Evaluate an XPath expression in the specified context and return the result as a
String. |
Object |
XPath.evaluate(String expression,
Object item,
QName returnType)
Evaluate an
XPath expression in the specified context and return the result as the specified type. |
abstract boolean |
XPathFactory.getFeature(String name)
Get the state of the named feature.
|
(package private) InputStream |
SecuritySupport.getResourceAsStream(ClassLoader cl,
String name) |
(package private) URL |
SecuritySupport.getResourceAsURL(ClassLoader cl,
String name) |
(package private) Enumeration |
SecuritySupport.getResources(ClassLoader cl,
String name) |
(package private) String |
SecuritySupport.getSystemProperty(String propName) |
abstract boolean |
XPathFactory.isObjectModelSupported(String objectModel)
Is specified object model supported by this
XPathFactory? |
private XPathFactory |
XPathFactoryFinder.loadFromProperty(String keyName,
String resourceName,
InputStream in)
Looks up a value in a property file
while producing all sorts of debug messages.
|
private XPathFactory |
XPathFactoryFinder.loadFromService(String objectModel,
String inputName,
InputStream in)
Look up a value in a property file.
|
XPathFactory |
XPathFactoryFinder.newFactory(String uri)
Creates a new
XPathFactory object for the specified
schema language. |
static XPathFactory |
XPathFactory.newInstance(String uri)
Get a new
XPathFactory instance using the specified object model. |
static XPathFactory |
XPathFactory.newInstance(String uri,
String factoryClassName,
ClassLoader classLoader)
Obtain a new instance of a
XPathFactory from a factory class name. |
abstract void |
XPathFactory.setFeature(String name,
boolean value)
Set a feature for this
XPathFactory and
XPaths created by this factory. |
private static String |
XPathFactoryFinder.which(String classname,
ClassLoader loader)
Search the specified classloader for the given classname.
|
| Constructor and Description |
|---|
XPathException(String message)
Constructs a new
XPathException
with the specified detail message. |
XPathExpressionException(String message)
Constructs a new
XPathExpressionException
with the specified detail message. |
XPathFactoryConfigurationException(String message)
Constructs a new
XPathFactoryConfigurationException with the specified detail message. |
XPathFunctionException(String message)
Constructs a new
XPathFunctionException with the specified detail message. |